View Single Post
Old 11-19-2024, 06:36 AM   #1
Eubhal
Junior Member
Eubhal began at the beginning.
 
Posts: 4
Karma: 10
Join Date: May 2024
Device: N/A
Smile Any tips for adding to the playlist/navmap?

Hi,

When manually adding a page/file to an epub I am having trouble including the new page in the navmap and play list in the ncx as the playorder numbers are sequential. Currently the only way I can see is to manually increase each number following the new item by one.

Does anyone know of a plug-in or built-in feature for adjusting the manifest and pagelist? I also use Sigil if anyone knows of an option there.

Many thanks,

Eve

example of relevant code:

<navMap>
<navPoint id="cover" playOrder="1">
<navLabel>
<text>Cover</text>
</navLabel>
<content src="xhtml/001_cover.xhtml"/>
</navPoint>
<navPoint id="title" playOrder="2">
<navLabel>
<text>Title Page</text>
</navLabel>
<content src="xhtml/002_title.xhtml"/>
</navPoint>
<navPoint id="copy" playOrder="3">
<navLabel>
<text>Copyright</text>
</navLabel>
<content src="xhtml/003_copyright.xhtml"/>
</navPoint>
<navPoint id="dedication" playOrder="4">
<navLabel>
<text>Dedication</text>
</navLabel>
<content src="xhtml/004_dedication.xhtml"/>
</navPoint>
Eubhal is offline   Reply With Quote