aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/doc_reform.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/doc_reform.d')
-rwxr-xr-xsrc/doc_reform/doc_reform.d13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/doc_reform/doc_reform.d b/src/doc_reform/doc_reform.d
index 0fa326d..4c7f0bc 100755
--- a/src/doc_reform/doc_reform.d
+++ b/src/doc_reform/doc_reform.d
@@ -131,7 +131,8 @@ void main(string[] args) {
"latex" : false,
"light" : false,
"manifest" : false,
- "ocn" : true,
+ "hide-ocn" : false,
+ "ocn-off" : false,
"odf" : false,
"odt" : false,
"parallel" : false,
@@ -189,7 +190,8 @@ void main(string[] 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"],
@@ -323,8 +325,11 @@ void main(string[] args) {
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"];