Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 12:11 PM   #1
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 198
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Importing TOC

<h2>Epigraph</h2>
<h2 id="sigil_toc_id_1">chapter one</h2>

The above is what I get, with the result that in the epub, clicking on "Epigraph" only takes me to the title. The Chapters work just fine.

I am creating the TOC in MS Word.

Is there a way to fix this? I don't see any options in Sigil to change this.

Thanks.
LordP is offline   Reply With Quote
Old Today, 12:33 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,848
Karma: 6120478
Join Date: Nov 2009
Device: many
Sigil has many Table of Contents generation tools built in.
Is this an epub2 or an epub3?

If an epub 2, you can use the Create Table of Contents menu to fill the NCX.
If an epub3, it fills in the NAV.

There is also a Create HTML Table of Contents and fill it as well.

i never try to do this in Word.

See the sigil user guide for more info.
KevinH is offline   Reply With Quote
Old Today, 01:12 PM   #3
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 198
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Thanks for the info.

It seems that Sigil ignores the first entry.

I changed the DOCX so "Chapter One" is the first entry and I got this:

<h2>chapter one</h2>
<h2 id="sigil_toc_id_1">chapter two</h2>

This is an epub3.

I'm going to try creating a ghost first entry and see how it looks.
LordP is offline   Reply With Quote
Old Today, 01:21 PM   #4
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 198
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
I created an H2 from a blank line and it looks OK.

The blank line in the TOC takes me to the title, and I can live with that.

If I ever figure out why this happens, I'll post here.

Thanks for the help.
LordP is offline   Reply With Quote
Old Today, 01:50 PM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,848
Karma: 6120478
Join Date: Nov 2009
Device: many
No Sigil does not ignore any h1-h3 entry unless you tell it to in the TOC Editor.

Note that toc links are typically to top of page and not to the title itself unless the h1-h3 is not near the top of page and an id exists in the h1-h3 tag so a fragment is included in generated link.

Each chapter or section of the epub should typically be in its own file. Not just one big html file for the entire book. There are Sigil tools to split files and to merge files as well.

Last edited by KevinH; Today at 01:54 PM.
KevinH is offline   Reply With Quote
Old Today, 02:15 PM   #6
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: 28,647
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by LordP View Post
I changed the DOCX so "Chapter One" is the first entry and I got this:

<h2>chapter one</h2>
<h2 id="sigil_toc_id_1">chapter two</h2>

This is an epub3.
It sounds as if you're creating a table of contents as a DOCX and then importing it into Sigil somehow? How, exactly, are you importing this docx?
DiapDealer is online now   Reply With Quote
Old Today, 02:29 PM   #7
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 198
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by DiapDealer View Post
It sounds as if you're creating a table of contents as a DOCX and then importing it into Sigil somehow? How, exactly, are you importing this docx?
I'm using the DOCX import plugin.

Is there another way?
LordP is offline   Reply With Quote
Old Today, 02:32 PM   #8
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 198
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by KevinH View Post
No Sigil does not ignore any h1-h3 entry unless you tell it to in the TOC Editor.

Note that toc links are typically to top of page and not to the title itself unless the h1-h3 is not near the top of page and an id exists in the h1-h3 tag so a fragment is included in generated link.

Each chapter or section of the epub should typically be in its own file. Not just one big html file for the entire book. There are Sigil tools to split files and to merge files as well.
I am not using the TOC editor - I'm simply importing the DOCX and then the TOC from the document.

I should point out that I'm a complete beginner and starting to find my way.

I am 75 years old and very much into all sorts of tech all my life, but all of it was in hardware, I'm new to software.

I am not splitting the document, instead i tried one file and it works on my Clara, so I'm OK with that.
LordP is offline   Reply With Quote
Old Today, 02:49 PM   #9
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 198
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Quote:
Originally Posted by KevinH View Post
No Sigil does not ignore any h1-h3 entry unless you tell it to in the TOC Editor.

Note that toc links are typically to top of page and not to the title itself unless the h1-h3 is not near the top of page and an id exists in the h1-h3 tag so a fragment is included in generated link.

Each chapter or section of the epub should typically be in its own file. Not just one big html file for the entire book. There are Sigil tools to split files and to merge files as well.
I've read your explanation three times and I don't understand it - remember, I'm 100% newbie.

This bit: Note that toc links are typically to top of page and not to the title itself unless the h1-h3 is not near the top of page and an id exists in the h1-h3 tag so a fragment is included in generated link.

In the MS Word document, I have the Title and author at the top, next comes the Epigraph and I make that H2 - are you saying that the H2 should be above the title in the MS Word document?

In any case, thanks for your help.
LordP is offline   Reply With Quote
Old Today, 03:08 PM   #10
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,848
Karma: 6120478
Join Date: Nov 2009
Device: many
No. What I am explaining is that one big html file is not the right way to do it since some older e-readers barf when trying to open an xhtml file longer than about 200k.

So first thing before creating a table of contents, you should split the one big file into separate sections/chapter files using Sigil. This ensures each chapter will start on its own page in the book.

Then use the Sigil tools to create the html table of contents.

Again, I strongly recommend reading the Sigil Users Guide, especially the tutorials for beginners.

It explains all of this.

Last edited by KevinH; Today at 03:11 PM.
KevinH is offline   Reply With Quote
Old Today, 03:26 PM   #11
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: 28,647
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I definitely wouldn't be creating the toc as part of a docx and then importing it into Sigil. That's what the Sigil toc tools are for after getting your docx into a proper epub.

My guess is that the style map you're using when importing with the DOCXImport plugin isn't successfully parsing all of the cruft that would come along with a working docx toc.
DiapDealer is online now   Reply With Quote
Old Today, 03:44 PM   #12
LordP
Groupie
LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.LordP ought to be getting tired of karma fortunes by now.
 
Posts: 198
Karma: 1341124
Join Date: Aug 2010
Device: Kindle 3
Thanks guys.

I'll read the User Guide, but, really, for now, this is working for me.

As I said, I'm 75, and I'm just playing with this stuff to keep myself busy. I don't see myself investing what little future I may have left in becoming an expert in authoring ebooks.

I don't mean to waste anyone's time, I thought I was missing something easy.

Not really worried about old e-readers.
LordP is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple HTML files w/ TOC to MOBI, not added in order listed in TOC dysfunction Conversion 3 01-03-2014 12:40 AM
Ho do I create a TOC for ePub which does convert to an active TOC in Kindle Previewer K-Thom Calibre 1 09-24-2013 06:32 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
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 05:28 PM.


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