Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-30-2016, 09:06 PM   #1
Paula-59
Enthusiast
Paula-59 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jan 2016
Device: none
File is non-linear -- what does that mean?

Hi:

When I ran a check on my epub in Calibri I get a message saying one of the files in the spine is "non-linear" and it asks if it should fix it. This particular file is giving me grief -- I can't get the page content to appear in the flow properly. It should be the second-to-last page of the book but keeps showing up last, even when the TOC has it second-to-last. I always select "fix what it can" and it does and then says there's no problems but the page still remains in the wrong place. What does the "non-linear in the spine" mean? (It says some readers won't read it or will read it in the wrong place -- but why??? It's an html file with no syntax errors.)

Thanks for any help!

Last edited by Paula-59; 01-30-2016 at 09:08 PM.
Paula-59 is offline   Reply With Quote
Old 01-30-2016, 09:17 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,909
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Paula-59 View Post
Hi:

When I ran a check on my epub in Calibri I get a message saying one of the files in the spine is "non-linear" and it asks if it should fix it. This particular file is giving me grief -- I can't get the page content to appear in the flow properly. It should be the second-to-last page of the book but keeps showing up last, even when the TOC has it second-to-last. I always select "fix what it can" and it does and then says there's no problems but the page still remains in the wrong place. What does the "non-linear in the spine" mean? (It says some readers won't read it or will read it in the wrong place -- but why??? It's an html file with no syntax errors.)

Thanks for any help!
It means there is a file that is not part of the Flow.
eg thumbnail
theducks is offline   Reply With Quote
Advert
Old 01-30-2016, 10:08 PM   #3
Paula-59
Enthusiast
Paula-59 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jan 2016
Device: none
theducks: thanks for replying!
Paula-59 is offline   Reply With Quote
Old 01-31-2016, 07:19 AM   #4
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,249
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@Paula, re: non-linear

If you open your epub in the calibre Editor, then open the .opf file (under Miscellaneous in the File Browser) you will probably see something similar to the following "matched pair" in the manifest and spine sections

Code:
<manifest>
...
<item href="text/myproblemfile.xhtml" id="someid" media-type="application/xhtml+xml"/>
...
</manifest>
<spine toc="toc">
...
<itemref idref="someid" linear="no"/>
...
</spine>
To stop the file with id "someid" being non-linear you can either change linear="no" to linear="yes" or delete linear="no" entirely (it should then automatically default to "yes")

Non-linear files will display at the end of the book. When reading the epub, the rest of your text files will appear in the order listed within the <spine> section. So to fix your problem you will need to make sure you have your <spine> in the correct order and your TOC in the matching order. Correcting it in TOC only is not enough.

ETA: In case you were wondering, the order your files are listed in the <manifest> section is not important.

Last edited by jackie_w; 01-31-2016 at 07:23 AM.
jackie_w is offline   Reply With Quote
Old 02-01-2016, 06:39 PM   #5
Paula-59
Enthusiast
Paula-59 began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jan 2016
Device: none
jackie_w: thanks for your help!
Paula-59 is offline   Reply With Quote
Advert
Reply

Tags
non-linear, spine


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comfortable linear reading radius Which one should I buy? 28 03-28-2014 05:37 PM
Kindle SW - Handbook - Non-linear reading - Always goes to the end of text avid01 Amazon Kindle 0 09-03-2013 06:37 AM
Interesting linear book scanner owly General Discussions 1 07-21-2013 08:31 AM
FILE. Program to identify a file's format by scanning binary data for known patterns. twobob Kindle Developer's Corner 3 05-13-2013 12:59 PM
Linear narrative (or not) mr ploppy Writers' Corner 25 02-03-2012 03:55 PM


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


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