aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/doc_reform.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-07-08 17:57:23 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2019-10-17 19:07:20 -0400
commitb157271169fe8cd896b54a89d28fd3b7c8768826 (patch)
treee844f3f79cc00d27f099a7dbde64227d5ac71b7f /org/doc_reform.org
parentsubprojects remove commit hash (diff)
0.7.5 xmls css code reorganised; ocn can turn off or hide
Diffstat (limited to 'org/doc_reform.org')
-rw-r--r--org/doc_reform.org15
1 files changed, 10 insertions, 5 deletions
diff --git a/org/doc_reform.org b/org/doc_reform.org
index 747b075..7a85e20 100644
--- a/org/doc_reform.org
+++ b/org/doc_reform.org
@@ -28,7 +28,7 @@ struct Version {
int minor;
int patch;
}
-enum _ver = Version(0, 7, 4);
+enum _ver = Version(0, 7, 5);
#+END_SRC
** compilation restrictions (supported compilers)
@@ -338,7 +338,8 @@ bool[string] opts = [
"latex" : false,
"light" : false,
"manifest" : false,
- "ocn" : true,
+ "hide-ocn" : false,
+ "ocn-off" : false,
"odf" : false,
"odt" : false,
"parallel" : false,
@@ -396,7 +397,8 @@ auto helpInfo = getopt(args,
"latex", "--latex output for pdfs", &opts["latex"],
"light", "--light default light theme", &opts["light"],
"manifest", "--manifest process manifest output", &opts["manifest"],
- "ocn", "--ocn object cite numbers (default)", &opts["ocn"],
+ "hide-ocn", "--hide-ocn object cite numbers", &opts["hide-ocn"],
+ "ocn-off", "--ocn-off object cite numbers", &opts["ocn-off"],
"odf", "--odf open document format text (--odt)", &opts["odf"],
"odt", "--odt open document format text", &opts["odt"],
"parallel", "--parallel parallelisation", &opts["parallel"],
@@ -537,8 +539,11 @@ struct OptActions {
bool manifest() {
return opts["manifest"];
}
- bool ocn() {
- return opts["ocn"];
+ bool ocn_hidden() {
+ return opts["hide-ocn"];
+ }
+ bool ocn_off() {
+ return opts["ocn-off"];
}
bool quiet() {
return opts["quiet"];