View Single Post
Old 07-13-2020, 01:51 PM   #1
ebulerdo
Junior Member
ebulerdo began at the beginning.
 
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 /&gt;

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!
ebulerdo is offline   Reply With Quote