![]() |
#46 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,125
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#47 |
Onyx-maniac
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,751
Karma: 16196313
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
|
Let's say (for the sake of argument) you wanted to have some divisions and you didn't want a big blank page saying "Part 2", but you wanted "Part 2" in the toc.ncx.
Please correct me on the following: You want text, so give it your navLabel text. You can't have a navPoint without content, so set the content to the next occuring viable content (which could be multiple levels down). You can't have a navPoint without an id, so, alright give it something. You (apparently?) can have a navPoint without a playOrder, so leave that out. Code:
<navPoint id="p2"> <navLabel><text>Part 2</text></navLabel> <content src="chapter20.htm"/> <navPoint id="np021" playOrder="21"> <navLabel><text>Chapter 20</text></navLabel> <content src="chapter20.htm"/> </navPoint> Edit: I guess that you could just have a big stupid blank "Part 2" page and just leave it out of the spine. Last edited by Renate; 08-17-2021 at 10:18 AM. |
![]() |
![]() |
![]() |
#48 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,125
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#49 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 58
Karma: 438844
Join Date: Aug 2019
Device: PC, Linux Mint, Tablet, and Telephone
|
Quote:
|
|
![]() |
![]() |
![]() |
#50 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
The simplest answer (in eBooks and everything else in life) is Occam's Razor meets a straight line--just make a SECOND "TOC" or "Topic Index" or cross-referenced whatever. All this Sturm und Drang over making the NCX do this or that seems unwarranted. I haven't gone back and re-read this entire thread--presumably, someone somewhere (vis the Part II thing above) suggested just putting HIDDEN text in the content and pointing the NCX to it? We used to do that all the time with Sigil. When I was new, wet behind the ears and just learnin' mah letters (ePUB) I used to LUV that I could easily create non-displaying content that I could slap in a TOC. Why not simply use a hidden heading, on page whatever and point the NCX to it? Happily, the NCX doesn't care about the text formatting, so...is there some reason that this wouldn't work? (n.b.: this is a different question in this discussion than the random sequencing question that MicroDrie was talking about...I'm speaking to Renate's question.) Or have I forgotten something? Hitch |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embed the functions of "TOC Edit" into "TOC Tab"? | hhtmp88 | Plugins | 2 | 08-20-2020 02:09 PM |
"Tag" vs "adding new column" dilemma | peter0conor | Library Management | 8 | 05-05-2020 06:45 PM |
what's the difference between "compiled" and "converted" folders? | Gregg Bell | Kindle Formats | 8 | 04-01-2014 12:45 AM |
Custom column: "Updated date", when adding new "versions" of the same file? | enriquep | Library Management | 16 | 11-03-2011 10:46 AM |
Getting calibre to detect "Prologue" and "Epilogue" for TOC | sherman | Calibre | 2 | 09-20-2010 02:21 AM |