Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2022, 03:03 PM   #1
cow
Just a Cow
cow began at the beginning.
 
cow's Avatar
 
Posts: 11
Karma: 10
Join Date: Mar 2022
Location: Pasture
Device: Kobo Sage
Question How do I correctly define the linear page ordering in my book?

Hi

I'm working on a big book project (a custom bible) and I'm a little confused about the page ordering.

I've created my own Table of Contents file using the proper NCX structure, with all the testaments/books/chapters in the order they should be displayed.. and I've taken great care to make sure the playOrder attribute in the toc.ncx navPoint nodes follow the correct progression as a reader would expect.

I assumed this playOrder attribute would be used to define the linear progression of my book when I flip from page to page.. but it does not.

It's rendering my toc.xhtml first, then the cover.xhtml, and then continues through all of my other xhtml files in alphanumeric order.. totally ignoring the playOrder I defined in the toc.ncx.

Is there a way (preferably through markup) I can explicitly define the linear progression of the xhtml files, or do my .xhtml files need to be named sequentially in sigil?

I'm not quite understanding how this works.

Thank you
cow is offline   Reply With Quote
Old 05-07-2022, 03:13 PM   #2
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,013
Karma: 89771379
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
HTML files are presented in the order set by the spine inside of the opf file.
jhowell is offline   Reply With Quote
Advert
Old 05-07-2022, 03:52 PM   #3
cow
Just a Cow
cow began at the beginning.
 
cow's Avatar
 
Posts: 11
Karma: 10
Join Date: Mar 2022
Location: Pasture
Device: Kobo Sage
Quote:
Originally Posted by jhowell View Post
HTML files are presented in the order set by the spine inside of the opf file.
OH! I get it now. I tried reordering the items in the opf file, but I didn't scroll down far enough to see the Spine section. I was reordering the initial file definitions and it wasn't doing anything.

Thank you!
cow is offline   Reply With Quote
Old 05-07-2022, 04:43 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: 28,341
Karma: 203719646
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Just so you know: reordering the xhtml files in Sigil's Book Browser, will automatically reorder the spine section of the opf file to match.
DiapDealer is offline   Reply With Quote
Old 05-07-2022, 07:20 PM   #5
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,295
Karma: 20171067
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
Quote:
Originally Posted by DiapDealer View Post
Just so you know: reordering the xhtml files in Sigil's Book Browser, will automatically reorder the spine section of the opf file to match.
ie. just drag your cover.xhtml file to the #2 position, release, then drag it back to the #1 position (or wherever it was originally. The spine section is automagically updated.
Turtle91 is offline   Reply With Quote
Advert
Old 05-08-2022, 11:39 AM   #6
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by DiapDealer View Post
Just so you know: reordering the xhtml files in Sigil's Book Browser, will automatically reorder the spine section of the opf file to match.
This is what I've always done. It seemed magical at first, but like all things we do, it soon became commonplace.
Notjohn is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Define the way Calibre saves book to a library BlackCanopus Calibre 2 06-08-2018 02:25 AM
Is there a plugin to make non-linear items linear? deback Conversion 4 11-28-2017 12:30 AM
Interesting linear book scanner owly General Discussions 1 07-21-2013 08:31 AM
How can I define the "first" page of an ebook? bfollowell Sigil 21 05-06-2012 06:51 PM


All times are GMT -4. The time now is 03:40 AM.


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