diff options
| author | Scott Bahling <sbahling@mudgum.net> | 2013-03-20 10:56:48 +0100 |
|---|---|---|
| committer | Scott Bahling <sbahling@mudgum.net> | 2013-03-20 10:56:48 +0100 |
| commit | f2fb7c8dea7c381b803e9ca8d6616907285e92f9 (patch) | |
| tree | 3da57962a6e8d2dc85ef85470535e9ac0d22ef1e /panfry/main.py | |
| parent | 6008dfc91c6361980cc855b4b3adc2ccedb25e5c (diff) | |
| download | panfry-f2fb7c8dea7c381b803e9ca8d6616907285e92f9.tar.gz panfry-f2fb7c8dea7c381b803e9ca8d6616907285e92f9.tar.xz panfry-f2fb7c8dea7c381b803e9ca8d6616907285e92f9.zip | |
Add epub generation
Default to xelatex latex engine for pdf generation to
handle utf-8 properly.
Diffstat (limited to 'panfry/main.py')
| -rwxr-xr-x | panfry/main.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/panfry/main.py b/panfry/main.py index 776fd52..e09b653 100755 --- a/panfry/main.py +++ b/panfry/main.py @@ -40,6 +40,10 @@ def main(): pdffile = document.publish_pdf(env.pub_path) print("Wrote PDF: %s" % pdffile) + ###### Create epub + epubfile = document.publish_epub(env.pub_path) + print("Wrote PDF: %s" % epubfile) + ###### Create HTML document.publish_html(env.pub_path) |
