Quote:
Originally Posted by slowsmile
DNSB...The way Sigil's file selection works has nothing really to do with the plugin. I'm pretty sure that Sigil selection works whereby the files are stored in an ascending list according to the order of selection(usually top to bottom if you use group selections or random selections). As it stands now the user's selection will collect your filenames from top to bottom in the Book Browser and process them exactly like that in the plugin. I must also admit that I never had any selection problems at all when testing the plugin. Perhaps it might be split file which caused these problems.
Also, as advised in the release notes, you must always select all chapter files from the Book Browser for this plugin to work properly. If your file selection does not include all chapter files then you will probably get differences in formatting and chapter file mis-numbering occurring as errors in the result.
|
I re-tested with the book that used images for the chapter titles since it recycled chapters numbers for each part. It seems that the first file selected became chapter 1, the next chapter 2 and so forth. Basically, I'm just going to have to select from top to bottom which is my normal procedure. The two file situation is unlikely in a real book but fenceposts are handy test points.
For the heck of it, I ctrl-click selected Chapter 1, 5, 2 ,4 ,3 and the following was generated in toc.ncx:
Code:
<navPoint id="navPoint-3" playOrder="3">
<navLabel>
<text>Chapter 1</text>
</navLabel>
<content src="Text/part0004.html"/>
</navPoint>
<navPoint id="navPoint-4" playOrder="4">
<navLabel>
<text>Chapter 3</text>
</navLabel>
<content src="Text/part0005.html"/>
</navPoint>
<navPoint id="navPoint-5" playOrder="5">
<navLabel>
<text>Chapter 5</text>
</navLabel>
<content src="Text/part0006.html"/>
</navPoint>
<navPoint id="navPoint-6" playOrder="6">
<navLabel>
<text>Chapter 4</text>
</navLabel>
<content src="Text/part0007.html"/>
</navPoint>
<navPoint id="navPoint-7" playOrder="7">
<navLabel>
<text>Chapter 2</text>
</navLabel>
<content src="Text/part0008.html"/>
</navPoint>
edit: retested with new plugin version and same result. Also note that once I knew I had to select the chapter files in chapter sequence, the plugin made adding chapter 1 to whatever with class=hidden much easier than my previous workflow.