View Single Post
Old 05-10-2013, 08:33 PM   #12
weberr
New old guy
weberr began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Feb 2012
Device: kindle fire
Sigil -- css code for headings

I have an epub that has an html contents file but I don't know how it was built. None of the headings have heading tags -- just standard <p> tags with various attributes. i.e., the toc.ncx file is empty. I need to create a TOC but I don't want to go through all the html files (80+) and enter the h1/h2/h3 tags.

So, two questions -- is there a way to reverse engineer the existing html TOC into a toc.ncx file?, and/or is there a way to use the css file to add a 'heading' attribute to a <p> tag?
weberr is offline   Reply With Quote