diff options
Diffstat (limited to 'src/doc_reform/output/hub.d')
-rw-r--r-- | src/doc_reform/output/hub.d | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/doc_reform/output/hub.d b/src/doc_reform/output/hub.d index b840811..8f16528 100644 --- a/src/doc_reform/output/hub.d +++ b/src/doc_reform/output/hub.d @@ -15,7 +15,7 @@ template outputHub() { mixin Msg; auto msg = Msg!()(doc_matters); static auto rgx = Rgx(); - enum outTask { pod, source, sqlite, sqlite_multi, odt, epub, html_scroll, html_seg, html_stuff } + enum outTask { pod, source, sqlite, sqlite_multi, latex, odt, epub, html_scroll, html_seg, html_stuff } void Scheduled(D,I)(int sched, D doc_abstraction, I doc_matters) { auto msg = Msg!()(doc_matters); if (sched == outTask.pod) { @@ -48,6 +48,12 @@ template outputHub() { outputHTML!().images_cp(doc_matters); msg.vv("html css & images done"); } + if (sched == outTask.latex) { + msg.v("latex processing... (available for downstream processing & pdf output"); + import doc_reform.output.latex; + outputLaTeX!()(doc_abstraction, doc_matters); + msg.vv("latex done"); + } if (sched == outTask.odt) { msg.v("odf:odt processing... "); import doc_reform.output.odt; |