View Single Post
Old 12-03-2015, 12:02 PM   #205
Solitaire1
Samurai Lizard
Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.
 
Solitaire1's Avatar
 
Posts: 14,974
Karma: 70029956
Join Date: Nov 2009
Device: NookColor, Nook Glowlight 4
dgatwood wrote the following as part of a post:

Quote:
Originally Posted by dgatwood View Post
The chapter number is a great example of this. When I started writing the content, I was dealing with manual chapter numbers, and it was a nightmare to keep fixing them every time I added a new chapter break. By changing the markup to simply treat each chapter as a unit, that becomes trivial. When the software produces the actual output, it just counts the chapters as it goes, and puts in the correct number.
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.
Solitaire1 is offline   Reply With Quote