A plugin for the open source ebook library and converter Calibre
Converts any book format that Calibre supports to the PEF format
This plugin is based on the TXTOutput plugin by John Schember.
calibre-customize -b path_to_plugin_dir
ebook-convert something.epub something.pef
ebook-convert something.txt something.pef
Look for the section on output options:
ebook-convert -h
In particular:
- --ueb2 use liblouis to convert to contracted grade 2
- --num-rows defaults to 4 and is number of rows per page
- --max-line-length defaults to 40 and is the maximum number of cells per row
If you want to use liblouis to contract the braille, you will need to install the library and the python bindings.
https://github.com/liblouis/liblouis
- more testing