How much does it cost the publisher to transform the draft of a textbook as given by the authors into a final publication (for web or print)? I wonder what are the actual costs of translating a manuscript of a textbook as given by the authors into a final publication (for web or print). I.e., ignoring the costs of marketing the textbook, and printing the textbook, and serving content via web.

I am mostly interested in the fields of computer science and maths, English-speaking venues, and the United States, but I am curious about other fields, languages, and countries as well. I am looking for referenced numbers, not guesses.



Given the number of downvotes and close votes from people who seem to think it's impossible, here is an example…
The costs are going to depend on three factors: (1) how long the book is, (2) how well written the book is, and (3) how much layout work the publisher does.

For example, in Math, the publisher might provide a LaTeX template and expect you to hand tweak underfull and overfull lines, float placement, and hypenation. In other fields it is more typical to give the publisher plain text with minimal markup.

The Editorial Freelancers Association publishes recommended editing fees. A typical book might have a round of "line editing" at 4 cents per word, a round of layout at 4 cents per word, and a round of basic copy editing at 2 cents per word.

If the book is poorly written, two rounds of line editing might be needed. If there is automated layout, the layout costs could be saved. There is also the cost of creating an index at 2 cents a word, which depends on who makes the index.