Canis, not to pick on you, but you have two facts very wrong in your assertions.
Paper and shipping make up a pretty large percentage of the purchase price of the book.
No, they don't.
It comes as a surprise to a lot of people--myself included when I first began looking into this--but printing and shipping make up a fairly
small portion of the price. Obviously, it varies based on the company, the print size, distribution deals, printing locations, etc. But based on my research after the recent Amazon/Macmillan kerfuffle, the general accepted range in publishing (or at least fiction publishing) these days is between 3% and 10% of total costs.
That's not a typo. Three-to-ten percent.
Warehousing adds a bit, but not very much. And often, warehousing costs are assumed by the vendors (i.e. Amazon) as much as, or more than, the publisher.
I have a small amount of sketchy info and a large amount of suspicions about where all that free money ends up, and if you think the author gets a slice, I have a bridge I'd like to sell you. Great view of Brooklyn.
While the precise details depend on the contract, and yes, where the numbers should fall is a major point of contention between authors and publishers. But authors
do tend to make higher royalties on e-books than hardcopies. Maybe not
enough more, and maybe not always if they have an old or poorly vetted contract. But on average.