daisy / pipeline-scripts

!! NOTE: This project is now part of the pipeline-modules project !! | Script modules for the default DAISY Pipeline 2 distribution.
GNU Lesser General Public License v3.0
6 stars 5 forks source link

ODT to PEF script #127

Open bertfrees opened 6 years ago

bertfrees commented 6 years ago

This is a great feature that could be achieved with relatively little effort because all *-to-pef scripts are based on the same "XML/CSS to OBFL to PEF" pipeline. The only additional thing needed would be a conversion from .odt file to flat XML. Developing a style sheet is ultimately the responsibility of the user, like is also the case for the other PEF scripts.

An alternative is of course to go through via HTML, but this requires knowledge of the ODT to HTML conversion in order to develop a style sheet, while a direct conversion only requires knowledge of the ODT format itself.

With an ODT to PEF script, the OpenOffice plugin odt2braille, which has become abandonware but still has many users, could be replaced with Pipeline 2, or it could be revived and use Pipeline 2 under the hood (would also require https://github.com/daisy/pipeline-tasks/issues/99).