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/doc_reform.org | |
parent | 0.8.2 yaml pod.manifest, read site config first (diff) |
multilingual pods, zipped source
Diffstat (limited to 'org/doc_reform.org')
-rw-r--r-- | org/doc_reform.org | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/org/doc_reform.org b/org/doc_reform.org index 6b08fd2..995dde6 100644 --- a/org/doc_reform.org +++ b/org/doc_reform.org @@ -454,7 +454,7 @@ if (helpInfo.helpWanted) { #+NAME: doc_reform_args #+BEGIN_SRC d -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 } struct OptActions { bool assertions() { return opts["assertions"]; @@ -573,6 +573,9 @@ struct OptActions { bool source() { return opts["source"]; } + bool source_or_pod() { + return (opts["pod"] || opts["source"]) ? true : false; + } bool sqlite_discrete() { return opts["sqlite-discrete"]; } @@ -677,8 +680,7 @@ struct OptActions { || odt || latex || manifest - || pod - || source + || source_or_pod || sqlite_discrete ) { _is = true; @@ -690,11 +692,8 @@ struct OptActions { } auto output_task_scheduler() { int[] schedule; - if (pod) { - schedule ~= outTask.pod; - } - if (source) { - schedule ~= outTask.source; + if (source_or_pod) { + schedule ~= outTask.source_or_pod; } if (sqlite_discrete) { schedule ~= outTask.sqlite; @@ -723,8 +722,7 @@ struct OptActions { bool _is; if (opts["abstraction"] || concordance - || source - || pod + || source_or_pod || harvest || html || epub |