aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-05-20 10:20:38 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-10-17 19:07:20 -0400
commitd21e5b572433f39111282805435e6337f0e1b4c0 (patch)
tree7a604e949edeef496ef79870f98aa4b722136d34 /org/output_hub.org
parent0.7.1 odt (initial stub) (diff)
0.7.2 latex (for pdf) (initial stub)doc-reform_v0.7.2
Diffstat (limited to 'org/output_hub.org')
-rw-r--r--org/output_hub.org14
1 files changed, 13 insertions, 1 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index bd56940..d974516 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -33,7 +33,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);
<<output_scheduled_task>>
@@ -138,6 +138,18 @@ if (sched == outTask.html_stuff) {
}
#+END_SRC
+**** latex / pdf :latex:pdf:
+
+#+name: output_scheduled_task
+#+BEGIN_SRC d
+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");
+}
+#+END_SRC
+
**** odf / odt :odf:odt:
#+name: output_scheduled_task