View Single Post
Old 08-18-2021, 02:12 PM   #48
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,966
Karma: 147448039
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Renate View Post
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>
I see that RMSDK accepts navPoints without content and gives them a getChapterPagePositionFromIndex of -1.

Edit: I guess that you could just have a big stupid blank "Part 2" page and just leave it out of the spine.
Just have the page that shows Part 2 and be done with it. Don't make a mess of the eBook because you don't like Part 2.
JSWolf is online now   Reply With Quote