A book is something you cook.
Cooking is something you do with food and books are not food.
For best results you should follow the recipe in the cooking book.
There are many books in a library and a cook works in a kitchen.