View Single Post
Old 08-17-2021, 10:10 AM   #47
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,936
Karma: 17500001
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>
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.

Last edited by Renate; 08-17-2021 at 10:18 AM.
Renate is offline   Reply With Quote