Quote:
Originally Posted by ZsoltKa
How do I make Prince PDF so it will recognize and read the EPUB TOC file.
|
The plugin does not read the NCX file. The PDF toc is generated by Prince from the HTML contents. I'm not sure Prince can use any external file for a toc, probably not.
What you can do is add CSS code to let Prince create a reasonable TOC. Something like:
Code:
h1 {
prince-bookmark-level: 1;
prince-bookmark-label: content();
}
h2 {
prince-bookmark-level: 2;
}
See
https://www.princexml.com/doc/10/pdf-bookmarks/