diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-10-16 12:26:36 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-10-17 19:07:20 -0400 |
commit | ab80f734713d5571f9014d17ec1f04d09b38011e (patch) | |
tree | 63e2e2a358834033fcee54bb58fd08ed6e9b4201 /org/output_hub.org | |
parent | 0.8.2 yaml pod.manifest, read site config first (diff) |
multilingual pods, zipped source
Diffstat (limited to 'org/output_hub.org')
-rw-r--r-- | org/output_hub.org | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/org/output_hub.org b/org/output_hub.org index e3b4607..d77d671 100644 --- a/org/output_hub.org +++ b/org/output_hub.org @@ -34,7 +34,7 @@ template outputHub() { mixin Msg; auto msg = Msg!()(doc_matters); static auto rgx = Rgx(); - enum outTask { pod, source, sqlite, sqlite_multi, latex, odt, epub, html_scroll, html_seg, html_stuff } + enum outTask { source_or_pod, 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>> @@ -82,21 +82,19 @@ import doc_reform.output, #+name: output_scheduled_task #+BEGIN_SRC d -if (sched == outTask.source - || sched == outTask.pod -) { - if (sched == outTask.source) { +if (sched == outTask.source_or_pod) { + if (doc_matters.opt.action.source) { msg.v("doc reform source processing... "); } - if (sched == outTask.pod) { + if (doc_matters.opt.action.pod) { msg.v("doc reform source pod processing... "); } import doc_reform.output.source_pod; DocReformPod!()(doc_matters); - if (sched == outTask.source) { + if (doc_matters.opt.action.source) { msg.vv("doc reform source done"); } - if (sched == outTask.pod) { + if (doc_matters.opt.action.pod) { msg.vv("doc reform source pod done"); } } |