doctemplate supports epub
Kyle Nitzsche
kyle.nitzsche at canonical.com
Fri Feb 5 18:36:30 UTC 2010
Doctemplate (lp.net/doctemplate) now supports localized epub output with
a single command! (epub is a widely-used ebook format.)
That's in addition to html (two versions with different
styling/navigation), pdf, and docbook.
The doctemplate idea is: let doctemplate handle all the build and techy
bits and let writers write. And use standard customization layers for
visual design for each output type.
You can install it from this ppa:
https://launchpad.net/~doctemplate-team/+archive/ppa
Then, create an article project in a new directory with:
doctemplate_setup_article
Build commands (from project root dir):
./make_html
./make_html-site
./make_pdf
./make_docbook
./make_epub
Update pots and pos from source:
./update_pots_pos
Built localized outputs are in build/$type/$lang
Note: Launch epub output with FBReader app as follows:
FBReader build/epub/en/OEBPS/content.opf
Each output type (html, pdf, epub, pdf/fop) has built-in, standard
customization layers for parameters and xsl template overrides in each
project so you can modify visual design beyond the defaults.
Still working on the doctemplate-user-guide!
cheers,
Kyle
More information about the ubuntu-doc
mailing list