aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-07-12 11:56:33 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:15 -0400
commit4a0d1de4f72785f101c5db0006a931972efc4484 (patch)
treec12973b920884eac5954e28b519cf8868d0dbaa1 /org/sdp.org
parentmake string object_number a property of int o_n (diff)
html flags
Diffstat (limited to 'org/sdp.org')
-rw-r--r--org/sdp.org30
1 files changed, 25 insertions, 5 deletions
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