aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
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