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