![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2020
Device: Huawei M6
|
Setting itemref to linear=no
Hi All,
Not sure if this is a bug or something I'm doing wrong. The epub file I am preparing has an endnotes file that I'd rather hide from the contents. I found that you can do this by editing the <spine> section of the contents.opf file, and adding "linear=no" to the itemref in question. I know many apps ignore the "linear=no" setting, I don't care too much. If it works it works, if not the reader will just see a list of endnotes. So I edit that file and type: <itemref idref="id27" linear=no /> I save it, and when I open it again that line is changed to: <itemref idref="id27"/>no /> Why does Calibre Editor change my code? How can I prevent it? I am using Calibre 4.20 on a Windows 10 Home. Thank you! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Try no in quotes:
Code:
<itemref idref="id27" linear="no" /> |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,181
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
See: https://github.com/jgm/pandoc/issues/1593 bernie |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2020
Device: Huawei M6
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does *anything* support linear=no? | Skeezix | ePub | 38 | 10-27-2019 05:55 PM |
Is there a plugin to make non-linear items linear? | deback | Conversion | 4 | 11-28-2017 12:30 AM |
File is non-linear -- what does that mean? | Paula-59 | Conversion | 4 | 02-01-2016 06:39 PM |
Comfortable linear reading | radius | Which one should I buy? | 28 | 03-28-2014 05:37 PM |
Linear narrative (or not) | mr ploppy | Writers' Corner | 25 | 02-03-2012 03:55 PM |