Quote:
Originally Posted by DiapDealer
No, there's nothing wrong (spec-wise) with doing both toc and nav with the same file, I've just always found it easier to keep them separate. If only because of the ability to auto generate both after making changes. I just find manually tweaking the nav to make it work as the toc to be a tad tedious is all.
|
At this point my workflow is optimised enough that it's the same or probably less work for me to fix the nav. I have a clip of basic styles that I use everywhere (fix the list style etc) and the rest just gets folded in with the rest of the styles of the book.
Quote:
Originally Posted by KevinH
You can always just directly edit the spine in the OPF to move the nav.
|
Wait is that possible? Because that is what I was trying to do originally, but editing the spine does not seem to affect the Book Browser order. I prefer them to match (spine + Book Browser file list) so I can easily check just by looking at it that everything is in the right place, without having to go to the end of the OPF. Is there an extra step to make them match?
Quote:
Originally Posted by KevinH
FWIW, if the nav is not part of the spine, it is moved to the bottom. Perhaps that is what you are seeing?
|
Yes, but this is new.
Starting recently, when I open a newly exported epub in Sigil, the nav is at the end of the file list in the book browser, and is not in the spine. Before, when I opened a new file, the nav was in the 2nd place in the file list, just after the cover.
I believe this changed when the new epub 3 tools were added "Remove nav from reading order, Add nav to reading order, Add nav to reading order with linear=no".
I just now did a fresh export to check exactly what is the placement of the nav before any other actions:
- Export file, open in Sigil: nav absent from spine, and at the bottom of the file list in the Book Browser.
- Drag nav to the top of the file list in the BB: it is not added to the spine.
- Epub 3 tools > Add nav to reading order: nav is added to the spine, at the end, and returns to the bottom of the file list if it's not already there, in the book browser.
- If I edit the spine (without touching the Book Browser), to put the nav in 2nd place, the file list order does not change in the BB.
- I also created a new empty epub to compare, in that case the nav is in the spine, at the end (but there is only one xhtml file, so...) and marked "linear=no". But I rarely start from a completely new epub file so I don't know if this has changed.
I reinstalled Sigil 2.7.5 (pre Nav tools) to check: when I open the same newly exported file, before I do anything else, the nav is in the 2nd place in the file list, just after the cover. (it is not in the spine there either though).
Ideally I would like to find a way to automatically go back to the previous default, with the nav right after the cover in the file list, without needing to drag the file in the Book Browser, even if I keep the saved search to add it to the spine (this is not a problem for me, I have a whole series of saved searches I do on every book, I will not even notice one more or less).
My ideas were :
- saved search to edit the spine, removing "linear=no" if nessary and moving the nav to the 2nd place; but this does not affect the BB, unless I am missing something.
- if possible / not complicated, maybe make this a user preference in Sigil, the same way we can choose which version for new files? The possibility to choose between the previous default behaviour (nav after cover + in reading order) or the new default behaviour (nav at the end, not in reading order).
- possible secret third option which I have not thought of but is obvious to everyone else (you never know)?
If there is no other way, I'll just keep dragging the nav in the file list window, but I always think there might be some very easy and obvious solution which I have not thought of on my own, so...