Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-05-2012, 10:13 AM   #1
hunchermuncher
Junior Member
hunchermuncher began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2012
Location: Norwich, UK
Device: Kindle
TOC id

Newbie Question:

I used Sigil to automatically create the TOC. It gave me:

Code:
  <p><a id="link3"></a></p>

  <h2 id="heading_id_15">Wrong Names</h2>
Do these two lines go together or is the <p> line redundant?
hunchermuncher is offline   Reply With Quote
Old 10-05-2012, 10:24 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,880
Karma: 39839185
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
What version of Sigil?
Were you generating the standard table of contents or an HTML table of contents?

I gotta be honest... I don't think Sigil had anything to do with the "<p><a id="link3"></a></p>" bit regardless of which TOC you were generating. I would hazard a guess that the <p> line isn't necessary, but without seeing the whole ebook, it's impossible to know for sure what else—if anything—might be dependent upon on that "link3" anchor.
DiapDealer is offline   Reply With Quote
 
Enthusiast
Old 10-05-2012, 10:27 AM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,439
Karma: 5560777
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by hunchermuncher View Post
Newbie Question:

I used Sigil to automatically create the TOC. It gave me:

Code:
  <p><a id="link3"></a></p>

  <h2 id="heading_id_15">Wrong Names</h2>
Do these two lines go together or is the <p> line redundant?
It may be complementary , for use by an hand coded inline TOC or foot/end notes. If you have neither... it is obsolete data.

Note: Sigil 6 (now in beta) can create a simple inline TOC from the traditional EPUB NCX.
theducks is offline   Reply With Quote
Old 10-08-2012, 05:02 AM   #4
hunchermuncher
Junior Member
hunchermuncher began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2012
Location: Norwich, UK
Device: Kindle
Thanks very much for both replies. I think the <p> line is redundant and is probably a hangover from a pre-existing TOC which I have deleted, so I think the <p> lines like this can go. I will save a version before I try just in case!
hunchermuncher is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Box sets, Lead TOC, embedded TOC hollowayhouse Conversion 5 08-16-2012 09:51 PM
Kindler previewer not recognizing toc.ncx file, my html toc, or the start point... petercrowell Kindle Formats 2 05-01-2012 08:14 AM
Generated TOC links back to TOC page in the book Caleb666 Sigil 7 08-17-2011 11:58 AM
Use Regex to Code an Inline TOC, from an External TOC's .ncx File mostlynovels ePub 2 03-16-2011 12:15 PM
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working Magitek LRF 0 05-06-2009 01:25 PM


All times are GMT -4. The time now is 06:16 AM.


MobileRead.com is a privately owned, operated and funded community.