MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Sigil Toc editor (https://www.mobileread.com/forums/showthread.php?t=97757)

Enesco 09-07-2010 11:20 AM

Sigil Toc editor
 
I have a problem with TOC in Sigil

How can I add a TOC to an existing epub file??

I read about the TOC editor, and how to use it, but I can't find
anywhere how to include the generated TOC in the epub file.

Regards

:thanks:

theducks 09-07-2010 11:36 AM

Quote:

Originally Posted by Enesco (Post 1098076)
I have a problem with TOC in Sigil

How can I add a TOC to an existing epub file??

I read about the TOC editor, and how to use it, but I can't find
anywhere how to include the generated TOC in the epub file.

Regards

:thanks:

H1, H2, H3 styled text are auto-magically turned into nested TOC entries.
(if you use one of those tags just to style the text, un-tic the box next to that line in the TOC editor and Sigil will code it not to be used.
Note: any changes you make in the TOC editor text, will appear in your document.

Enesco 09-07-2010 11:59 AM

Quote:

Originally Posted by theducks (Post 1098128)
H1, H2, H3 styled text are auto-magically turned into nested TOC entries.
(if you use one of those tags just to style the text, un-tic the box next to that line in the TOC editor and Sigil will code it not to be used.
Note: any changes you make in the TOC editor text, will appear in your document.

Thanks!

It just does that... I was expecting a "table of contents" after the titlepage
with hyperlinks... and could not find that.

Kind regards!

theducks 09-07-2010 12:17 PM

Quote:

Originally Posted by Enesco (Post 1098176)
Thanks!

It just does that... I was expecting a "table of contents" after the titlepage
with hyperlinks... and could not find that.

Kind regards!

That is an "Inline TOC",
which is not needed on many ePub readers that have a separate pane or button to call up the "Catalog/TOC" ADE,EPUBReader all use the TOC generated by Sigil

sjkramer 09-07-2010 02:58 PM

But as far as I know, Kindle does not use the inline toc and it is recommended that you draw up an actual contents "page." So you might want to consider doing that if you plan to submit to the Kindle store.

DaleDe 09-14-2010 03:24 PM

Quote:

Originally Posted by sjkramer (Post 1098477)
But as far as I know, Kindle does not use the inline toc and it is recommended that you draw up an actual contents "page." So you might want to consider doing that if you plan to submit to the Kindle store.

Kindle does not support ePUB at all anyway.

Dale

Oldpilot 09-14-2010 06:25 PM

Quote:

Originally Posted by DaleDe (Post 1109533)
Kindle does not support ePUB at all anyway.

As of a month or so ago, we were told that that that had changed. But evidently the results aren't very good.

ksng 09-14-2010 07:41 PM

Does anybody know how to hide the TOC from appearing on the first few pages of epub file? I tried to convert a Word Doc that contains a TOC to an ePUB file and the TOC text appear on the first few pages in eReader. Is there a way we can hide it so that TOC only appear in the eReader menu?

theducks 09-14-2010 08:58 PM

Quote:

Originally Posted by ksng (Post 1109868)
Does anybody know how to hide the TOC from appearing on the first few pages of epub file? I tried to convert a Word Doc that contains a TOC to an ePUB file and the TOC text appear on the first few pages in eReader. Is there a way we can hide it so that TOC only appear in the eReader menu?

Drag it to the end of the list of sections, then save. (Be careful, you can mess the play order up if you drag the wrong stuff)



The inline TOC is not needed in a EPUB compliant reader (Sigil's TOC generates that one), There are some lame readers out there that the inline is the only way.

ksng 09-15-2010 12:43 AM

Sorry, I'm new to this. May I know what do you mean by drag it to the end of the list sections? I can do this in Sigil?

theducks 09-15-2010 12:48 PM

Quote:

Originally Posted by ksng (Post 1110173)
Sorry, I'm new to this. May I know what do you mean by drag it to the end of the list sections? I can do this in Sigil?

Yes

Grab the TOC (line) item in the book browser and move it to the bottom of the SAME (text) section . Save, it is now at the end of the book Sigil adjusts the order in the underlying (NCX) control file for that book.
You can also rename those line items to be more meaningful (to you).
Sigil will adjust all the references so nothing breaks :thumbsup:

I believe, the one exception to the fix rule, is when you "Delete an image or section". Sigil has no clue what should happen and you just created an orphan :D

sjkramer 09-17-2010 09:40 AM

Quote:

Originally Posted by DaleDe (Post 1109533)
Kindle does not support ePUB at all anyway.

Dale

While the Kindle store does not support ePUB, they do accept ePUB files, which they convert themselves (at least they do for the large distributor who handles our books, I don't know if this is true for all types of accounts with them) to Kindle-compliant files. It is also quite easy to convert the an ePUB to a Kindle file yourself, using Amazon's KindleGen tool—as long as you keep in mind their particular requirements.

I misspoke earlier when I said that Kindle required an inline TOC. I was getting my terms confused! They require an actual page of TOC, as you would see in a book similar to what the earlier poster wanted to see.

Hitch 09-18-2010 05:14 AM

Quote:

Originally Posted by sjkramer (Post 1113784)
While the Kindle store does not support ePUB, they do accept ePUB files, which they convert themselves (at least they do for the large distributor who handles our books, I don't know if this is true for all types of accounts with them) to Kindle-compliant files. It is also quite easy to convert the an ePUB to a Kindle file yourself, using Amazon's KindleGen tool—as long as you keep in mind their particular requirements.

I misspoke earlier when I said that Kindle required an inline TOC. I was getting my terms confused! They require an actual page of TOC, as you would see in a book similar to what the earlier poster wanted to see.

Just to clarify: they (Amazon) simply want an active TOC like Sigil will create if you use header tags.

Hitch

benjaminsolah 09-20-2010 08:40 PM

So is it really just as easy as wrapping your titles with <h2> tags? And everything else is done for you?

yekim54 09-20-2010 11:01 PM

Quote:

Originally Posted by benjaminsolah (Post 1120228)
So is it really just as easy as wrapping your titles with <h2> tags? And everything else is done for you?

Yep. Try it, you'll like it!


All times are GMT -4. The time now is 06:32 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.