Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-20-2017, 10:30 AM   #16
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by famfam View Post
And a last question to sigil:
Whats the reason, to the 6 levels limitation? Is it so complicated to double the nummer auf levels? What is the problem? Sorry about my question, but I have no idea about that.
It's not a really Sigil limitation. Sigil will allow you to manually make as many nesting levels as you want in your NCX (either via the Edit ToC gui or editing the NCX directly). The automatic NCX generation feature is limited to 6 nesting levels because (x)html only defines 6 header tags--which is what the tool uses to quickly identify "levels."

I'm quite sure a Sigil plugin could be written to automatically generate much deeper NCX nesting by using predefined css classes or ids to identify the various "levels".

Last edited by DiapDealer; 08-20-2017 at 10:34 AM.
DiapDealer is offline   Reply With Quote
Old 08-21-2017, 06:08 AM   #17
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
famfam, it's really important that you consider what device you intend your book to be read on. As already mentioned, many devices will not display a TOC beyond two or three levels of nesting.
HarryT is offline   Reply With Quote
Old 08-21-2017, 09:16 AM   #18
famfam
Connoisseur
famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.famfam ought to be getting tired of karma fortunes by now.
 
Posts: 77
Karma: 2178856
Join Date: Oct 2013
Device: Kobo Clara HD
Quote:
Originally Posted by HarryT View Post
famfam, it's really important that you consider what device you intend your book to be read on. As already mentioned, many devices will not display a TOC beyond two or three levels of nesting.
What I'am usind since years on my Lifetab (Tablet) is a chinese reader named duokan.reader (3.5.0 android version), because I like it. 6 levels is no problem for duokan. I could find no information about the number of levels, duokan can work with. Anybody knows more about that?
Normally you cant find informations about the level-capacity of the devices or the android apps. Trial and error, seems to be the only way.

So: a plugin for sigil would be fine
or
a good idea, how to reorganize long texts down to a 6 level-toc.

I have no idea how to restructure a text down to 6 levels and no experience.
Lets think more about that.
famfam is offline   Reply With Quote
Old 08-21-2017, 09:52 AM   #19
theducks
Well trained by Cats
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: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Sigils NCX generator is base upon HTML H#'s. There are just 6 H#'s

Have you tried the TOC tool in Calibre Library (Also available in the editor)

Nothing stops you from hand editing the NCX (but it is a pain if you need man changes) . Saved clips can help with single entries, but nesting always bite me on the south-side
theducks is offline   Reply With Quote
Old 08-21-2017, 10:02 AM   #20
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by theducks View Post
Nothing stops you from hand editing the NCX (but it is a pain if you need man changes) . Saved clips can help with single entries, but nesting always bite me on the south-side
You don't even have to manually edit the NCX file if you don't want. The Edit TOC feature will allow you to create/delete entries and indent/dedent (nest) entries via a gui dialog. You just have to remember not wipe out all your work by later running the automatic Generate TOC feature. It may be tedious, but it's certainly less tedious than hand-editing an xml file. Especially if you're not familiar with the syntax.
DiapDealer is offline   Reply With Quote
Old 08-21-2017, 05:28 PM   #21
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by famfam View Post
What you mean by better organized in a different way? When the book already has that many levels? I found one with easily 10 to 12 levels. Sure, thats not the rule, thats a special case.

[...]

But again, how, do you think, could it be possible, to organize better a long text with 10 levels down to 6 levels? Any idea about that?

[...]

I have no idea how to restructure a text down to 6 levels and no experience.
Lets think more about that.
Hard to say without seeing the actual text. I am having a hard time even imagining anything beyond 7 or 8 (and even this is pushing it to the extremes).

What does the TOC currently look like?

In a compilation of multiple authors' entire books, you may see something like 6 headings:

- Author
-- Year
--- Book
---- Part
----- Chapter
------ Subchapter

In LaTeX, you are given access to 7 levels of headings:

- Part
-- Chapter
--- Section
---- Subsection
----- Subsubsection
------ Paragraph
------- Subparagraph

You say you have examples of 10 or 12 levels deep... I would be interested in how the author themselves are even citing locations within the book. It seems to me like it would get extremely unwieldy:

"As discussed in sections 1.2.3.4.5.6.7.8-1.2.3.4.5.6.7.12, Tex said that so many subheadings would become confusing."
Tex2002ans is offline   Reply With Quote
Reply

Tags
ncx toc levels


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindler previewer not recognizing toc.ncx file, my html toc, or the start point... petercrowell Kindle Formats 2 05-01-2012 08:14 AM
Does Apple iBooks support nested TOC.ncx? st_albert ePub 5 08-24-2011 02:21 PM
Syntax for toc.ncx Levels 1 and 2? NewDay ePub 7 04-04-2011 04:09 PM
Use Regex to Code an Inline TOC, from an External TOC's .ncx File mostlynovels ePub 2 03-16-2011 12:15 PM
NCX creation -- nested or not, css classes illustrata ePub 3 08-25-2010 08:56 AM


All times are GMT -4. The time now is 08:20 PM.


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