View Single Post
Old 12-03-2015, 02:08 PM   #206
dgatwood
Curmudgeon
dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.dgatwood ought to be getting tired of karma fortunes by now.
 
dgatwood's Avatar
 
Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
Quote:
Originally Posted by Solitaire1 View Post
I had the same issue with chapter numbers in my ebooks and solved the issue by using OpenOffice.org (OO.o). Rather than using manual chapter numbering or chapter breaks, I used OO.o's Fields function to create the chapter numbers. I created a field called "Chapter" and made the first "Chapter" equal to "1" and inserted the field into my ebook.

With each subsequent chapter I made "Chapter" equal to "Chapter+1." It made easy to correctly number the chapters, and if I inserted a new chapter the subsequent chapters would automatically be correctly renumbered.
Alas, the software I used originally lacked that level of capability.

Of course, I probably would have still translated to XML even if it did, because the custom software gives me a lot of control over the final markup that would have been hard to deal with otherwise:
  • Drop caps are carefully positioned based on the letter and the text after it, complete with cut-ins (shape-outside), where applicable.
  • "Special" pages (dedication, epigraph, title, verso/copyright, part separator) are SVG pages with a fixed layout.
  • Cover art image size differs—the EPUB has a lower-resolution cover because of iBooks resolution limitations, whereas the Kindle has a higher-resolution cover so that it will look better after Amazon's kindlegen tool scales it down (grr).
  • The Kindle edition uses very different markup to improve compatibility with KF7 devices (but resulting in something that can't pass EPUB validation).

and so on.
dgatwood is offline   Reply With Quote