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

HTML to DTBook script #122

Open bertfrees opened 6 years ago

bertfrees commented 6 years ago

See mailing list.

bertfrees commented 6 years ago

Jostein's nlbdev/nordic-epub3-dtbook-migrator project has such a conversion.

josteinaj commented 6 years ago

I've started generalizing the XSLT from the nordic migrator. This XSLT could be packaged as a Pipeline 2 script, but I haven't done that yet. The XSLT assumes that the input is somewhat well-structured, at least in terms of <section> elements, so maybe a pre-processing utility step to create <section> elements based on the HTML outline is needed in addition if it is packaged in DP2 for general use.

Background: At NLB we want to continue generating a DTBook version of all our books for certain legacy systems and partner organizations, but the EPUBs we receive in the future won't follow the nordic markup guidelines, so we need a more generic conversion.

bertfrees commented 6 years ago

Good news.