Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 02:50 PM   #1
Mister L
Groupie
Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 191
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
NAV preference?

Recently the way the nav is handled was changed, before it was the 2nd file in the book after the cover, now it's by default taken out of the reading order (linear="no") and placed at the end of the book (last file in the book browser).

But, most of the books I work on are required to include the nav in the reading order, and place it at the beginning of the book as the 2nd file, immediately following the cover (it's a requirement for selling on Amazon).

I made a saved search to delete the linear="no" and to modify the spine order in the opf, but this does not affect the file order in the book browser window and I can't find a way to automate moving the file to the top of that list. I prefer the book browser to match the spine because it makes it easy to quickly verify that everything is in the right place without going to the bottom of the opf.

Is there a way to automate moving the file in the book browser that I haven't thought of? If not, would it be possible to add a preference, the same way you can say "new files are epub 3" that says "nav is automatically included in reading order / placed after the cover" like the previous default?

If this is actually more complicated than it seems or if there is an underlying reason for it then no worries, just asking in case there is a simple solution.
Mister L is offline   Reply With Quote
Old Today, 03:38 PM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,522
Karma: 21099999
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Do you have Sigil set for ePub 3, or ePub 2? I think Sigil automatically places the nav in the correct location??
Turtle91 is offline   Reply With Quote
Old Today, 03:59 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,248
Karma: 7640672
Join Date: Nov 2009
Device: many
You can drag and drop the nav anywhere you want in BookBrowser to change the spine order (this works for all xhtml files btw). There are also new epub3 tools to remove the nav from the spine completely, add the nav to the spine as non-linear, add the nav to the spine normally.

So you control both where the nav appears in the spine order and how.

PS, the nav need not be part of the reading order as it is designed to be machine readable at all times, and instead many people create an HTML TOC xhtml file and place it second so that they can completely control its appearance. There is a Sigil Tool to do just that. The nav is then removed from the spine or moved to the end with linear set to no. The latter has long been Sigil's default for the nav (i.e. at the end with linear = "no").

Last edited by KevinH; Today at 04:04 PM.
KevinH is offline   Reply With Quote
Old Today, 04:40 PM   #4
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,961
Karma: 212736643
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I'm fairly certain that Amazon does not require the NAV to be the second document. I could be wrong though. More likely they require an html toc immediately following the cover. That's what it has been in the past, anyway. Some people used to try and make one file do the duties of both the NAV and HTML toc. I've always thought that was a mistake.

Last edited by DiapDealer; Today at 04:44 PM.
DiapDealer is online now   Reply With Quote
Old Today, 05:18 PM   #5
Mister L
Groupie
Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 191
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
Quote:
Originally Posted by Turtle91 View Post
Do you have Sigil set for ePub 3, or ePub 2? I think Sigil automatically places the nav in the correct location??
I have it set up for epub 3, but most of the time I am working on epubs that are exported from InDesign (files from my clients) so it doesn't really matter. But I export those in epub 3 also.

Quote:
Originally Posted by KevinH View Post
You can drag and drop the nav anywhere you want in BookBrowser to change the spine order (this works for all xhtml files btw). There are also new epub3 tools to remove the nav from the spine completely, add the nav to the spine as non-linear, add the nav to the spine normally.

So you control both where the nav appears in the spine order and how.
Oh, I know, I have been dragging it by hand since the default changed. This is pure laziness on my part trying to avoid having to do that step I recently worked on several books in a row with dozens of chapters, and dragging the nav to the top of 97+ files was... annoying.

Quote:
Originally Posted by KevinH View Post
PS, the nav need not be part of the reading order as it is designed to be machine readable at all times, and instead many people create an HTML TOC xhtml file and place it second so that they can completely control its appearance. There is a Sigil Tool to do just that. The nav is then removed from the spine or moved to the end with linear set to no. The latter has long been Sigil's default for the nav (i.e. at the end with linear = "no").
I know, but the nav can actually be styled as well as being machine readable. I make it pretty enough for human eyes with some css while still having everything necessary for machines. There have been a few very rare cases when I needed something different (very complicated styling or extra info or less info) in the toc compared to the nav, in that case I made both, but usually it's pretty basic. The CSS styles are overridden when you display the nav via the reading app navigation, because it uses whatever the reading app says, but there is no conflict between those modes. Most of the books I work on are novels or non-fiction (like essays or biographies) so the toc is pretty straightforward. Actually I think I need exactly the opposite of the Sigil Tool you mention (I didn't know about that one).

I almost never start from an empty epub file so I hadn't noticed the Sigil defaults, I usually am working on a book that was set up for print also, and until very very recently, all my new files came out with the nav at the top and no linear defined in the opf (so, inline). It might be some kind of interaction that was triggered on my side but nothing has changed in my preparation / export process and I'm fairly certain it was with the version before last of Sigil that the nav started showing up at the end in my exported files. Maybe some kind of "clean up on open" process that was activated?

Like I said, not the end of the world if it's going to stay this way from now on, but I just thought I'd ask in case there *is* some easy solution.

Quote:
Originally Posted by DiapDealer View Post
I'm fairly certain that Amazon does not require the NAV to be the second document. I could be wrong though. More likely they require an html toc immediately following the cover. That's what it has been in the past, anyway. Some people used to try and make one file do the duties of both the NAV and HTML toc. I've always thought that was a mistake.
Yes, you're right, I was unclear, sorry: Amazon requires *a* table of contents at the beginning (it can be html or the nav). But I don't see the point of having a second html toc which reproduces the same info as in the nav when you already have the nav right there (barring extremely rare cases). There is nothing in the spec that prevents that unless I have missed something, if there's a flaw in my reasoning let me know.
Mister L is offline   Reply With Quote
Old Today, 06:00 PM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,961
Karma: 212736643
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
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.
DiapDealer is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preference settings always ignored rmtew Conversion 2 11-11-2013 03:45 PM
preference scope BetterRed Calibre 2 10-01-2013 05:25 AM
No Preference or Help Button on Calibre (v. 0.8.41) Toffee Devices 2 03-05-2012 09:39 AM
Publishers Preference Poll CJJ General Discussions 24 02-12-2012 02:29 PM
view preference cybmole Calibre 2 01-25-2011 04:26 PM


All times are GMT -4. The time now is 06:06 PM.


MobileRead.com is a privately owned, operated and funded community.