aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/output_hub.org24
-rw-r--r--org/sdp.org30
2 files changed, 28 insertions, 26 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index 9caf1a9..b90d637 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -143,15 +143,7 @@ if (doc_matters.opt.action.text) {
#+name: output_options
#+BEGIN_SRC d
-if (doc_matters.opt.action.html) {
- if ((doc_matters.opt.action.verbose)) {
- writeln("html scroll processing... ");
- }
- outputHTML!().scroll(doc_abstraction, doc_matters);
- if ((doc_matters.opt.action.verbose)
- && (doc_matters.opt.action.debug_do)) {
- writeln("html scroll done");
- }
+if (doc_matters.opt.action.html_seg) {
if ((doc_matters.opt.action.verbose)) {
writeln("html seg processing... ");
}
@@ -162,18 +154,8 @@ if (doc_matters.opt.action.html) {
}
outputHTML!().css(doc_matters);
outputHTML!().images_cp(doc_matters);
-} else if (doc_matters.opt.action.html_seg) {
- if ((doc_matters.opt.action.verbose)) {
- writeln("html seg processing... ");
- }
- outputHTML!().seg(doc_abstraction, doc_matters);
- if ((doc_matters.opt.action.verbose)
- && (doc_matters.opt.action.debug_do)) {
- writeln("html seg done");
- }
- outputHTML!().css(doc_matters);
- outputHTML!().images_cp(doc_matters);
-} else if (doc_matters.opt.action.html_scroll) {
+}
+if (doc_matters.opt.action.html_scroll) {
if ((doc_matters.opt.action.verbose)) {
writeln("html scroll processing... ");
}
diff --git a/org/sdp.org b/org/sdp.org
index 4144630..727b16a 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -345,13 +345,35 @@ struct OptActions {
return opts["epub"];
}
auto html() {
- return opts["html"];
+ bool _is;
+ if (
+ opts["html"]
+ || opts["html-seg"]
+ || opts["html-scroll"]
+ ) {
+ _is = true;
+ } else { _is = false; }
+ return _is;
}
auto html_seg() {
- return opts["html-seg"];
+ bool _is;
+ if (
+ opts["html"]
+ || opts["html-seg"]
+ ) {
+ _is = true;
+ } else { _is = false; }
+ return _is;
}
auto html_scroll() {
- return opts["html-scroll"];
+ bool _is;
+ if (
+ opts["html"]
+ || opts["html-scroll"]
+ ) {
+ _is = true;
+ } else { _is = false; }
+ return _is;
}
auto manifest() {
return opts["manifest"];
@@ -445,8 +467,6 @@ struct OptActions {
|| docbook
|| epub
|| html
- || html_seg
- || html_scroll
|| manifest
|| odt
|| pdf