View Single Post
Old 07-15-2010, 04:53 AM   #3
eping
ePub Maker
eping began at the beginning.
 
eping's Avatar
 
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
Maybe you can use Regular expression

If you have the HTML files converted from PDF, ( All PDF must be converted into HTML firstly, then to ePub) you can use a Regular Expression tool to replace all Chapter names to proper HTML code.
Such as if your chapter HTML code has a structure as
<b>Chapter 12</b>
You can use "<b>(Chapter \d+)</b>" to grab them all, and replace them to
"<h2>$1</h2>"
No matter what, this is a work needs professional knowledge on Regular Expression.

And if your Chapter names were written in various HTML code, they only can be grabbed manually.
eping is offline   Reply With Quote