I attached a new version with updated configuration and stylesheet files provided by
roger64.
To take full advantage of the stylesheet you'll need to download and embed the
Linux Libertine fonts.
Of course, you can replace both files with your own customized versions.
BTW, the new version allows you to embed files, e.g. fonts or images files. These files need to be copied to the plugin resources folder. (You can also define a different folder via the
resource_dir plugin preference settings.)
The following plugin preference values can set:
Code:
{
"add_resources": true,
"resource_dir": "C:/Resources",
"output_format": "epub3",
"ibooks_xml": true,
"initialdir": "C:/Users/User/Downloads"
}
(Even though this plugin is bundled with the epub3-enabled Writer2LaTeX 1.5.2 alpha version, you can of course replace the .jar file with the stable version. Obviously, you won't be able to generate ePub3 files with it.)
BTW, if you use the
"output_format": "epub3", option, you'll get the following epubcheck warning:
Code:
WARNING(HTM-014a): XHTML Content Document file name 'OEBPS/Text/chapter.html' should have the extension '.xhtml'.
Simply select all .html files in the Book Browser and rename them to .xhtml.
Technical note: If you don't use the bundled interpreter, you'll need to install the
bs4 and
lxml Python libraries.