This plugin converts a book to PDF using Prince (
www.princexml.com). Prince can create PDF files with typographical quality, and supports some advanced features like real footnotes and floats, different page styles, etc.
This is the calibre plugin version of my previous script, which is available in two other versions:
- Bash script version: here
- Stand-alone GUI version: here
It is implemented as a GUI plugin rather than a conversion plugin because it may use some non-standard metadata and otherwise unused files, which are not available in normal conversion.
Only a few formats can be converted with this plugin, mainly EPUB, AZW3 and HTMLZ.
The resulting PDF can be added to the book record or saved to disk.
As with the other versions, this plugin will use, if it exists in the book, a special CSS file tagged in the metadata section of the OPF file as:
Code:
<meta name="prince-style" content="pdfoutput_css" />
where "pdfoutput_css" is the id of the CSS file in the manifest. A custom CSS file to be used with all conversions can also be configured.
So far, it has only been tested with ePub files and in Linux (and to some extent in Windows). If anyone tries it with other formats and/or in other platforms, please notify me of any issues.
Special Notes:
Translations:
Want to translate the plugin to another language? Use
transifex.
Older versions
If you need an older version for compatibility with an older calibre, you can find previous versions in
GitHub.
Version History: