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!
|