A basic weekend project that is handy in any room in the home. I actually use one of these sliding bookends n the shop for my reference books. A decorative useful project. You can easily adjust this project to fit your favorite books just by changing the length of the base. The dovetails will have to be made to a fairly loose tolerance as sliding dovetails tend to bind when having to travel very far. A little wax goes a long way.
Some simple machining a couple of matching dovetails and a little edge detail and you are ready to go.
The last one of these I built out of walnut however any material will do.