It has one thing to do with it: it sets the price floor. If the market value of that book is not past the price floor then there's no point in making it.
But some people who don't get how markets work think prices are: how_much_work_I_did+how_much_materials_cost+profit_amount_I_want. It's not. The item is priced based on the value it is perceived to provide.