Updated: December 5, 2019
Current Version: "0.2.7"
This simple plugin will convert most
valid commercial epub3 fiction books to valid epub2 books for use with older epub2 apps and readers. (Some post-editing might still be required.)
Note that this plugin is not a full-fledged epub3 converter; it handles only the most frequently used epub3 tags and attributes and won't work with enhanced epub3 books that contain JavaScript, MathML, audio, video or SMIL files.
This plugin does not support non-standard epubs. Select Tools > Restructure Epub to Sigil Norm before running this plugin with Sigil 1.0 and higher.
Installation:
1. Select Manage Plugins from the Plugins menu and select
Use Bundled Python, if it isn't already selected.
2. Click Add Plugin and select
ePub2_v0.2.7.zip. This will install the epub2 output plugin, which you can select via Plugins >
Output > ePub2.
Settings:
The plugin doesn't come with a GUI, but a couple of settings can be changed via ePub2.json entries:
Code:
{
"delete_epub_type": false,
"output_dir": "C:\\Users\\User\\Desktop",
"ncx_from_nav": false
}
delete_epub_type: Change this value to
true, if you want the plugin to delete
epub:type attributes. (By default, they'll be changed to class attributes.)
output_dir: Change this path, if you don't want the plugin to write epub2 files to the Desktop. (Note that on Windows machines, you'll need to use two backslashes in path names.)
ncx_from_nav: Change this value to
true, if you want the plugin to always generate a new toc.ncx file from the Nav xhtml file.
License: GNU General Public License v3 (GPL-3)