diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2025-10-14 09:02:41 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2025-10-14 10:54:55 -0400 |
commit | 7864505c3d3030c7a32d0eee360528d0d504f747 (patch) | |
tree | d5fd182a02fdc3a4c44526661bddab508ff60629 /org/spine.org | |
parent | abstraction metainfo, provide endnote parent ocn (diff) |
- revisit links (fix later)
Diffstat (limited to 'org/spine.org')
-rw-r--r-- | org/spine.org | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/org/spine.org b/org/spine.org index 8f0af14..9971dc2 100644 --- a/org/spine.org +++ b/org/spine.org @@ -321,6 +321,7 @@ bool[string] opts = [ "light" : false, "manifest" : false, "hide-ocn" : false, + "no-ocn" : false, "ocn-off" : false, "odf" : false, "odt" : false, @@ -444,6 +445,7 @@ auto helpInfo = getopt(args, "latex-header-sty", "latex document header sty files", &opts["latex-header-sty"], "light", "default light theme", &opts["light"], "manifest", "process manifest output", &opts["manifest"], + "no-ocn", "object cite numbers", &opts["no-ocn"], "ocn-off", "object cite numbers", &opts["ocn-off"], "odf", "open document format text (--odt)", &opts["odf"], "odt", "open document format text", &opts["odt"], @@ -675,7 +677,7 @@ struct OptActions { return opts["hide-ocn"]; } @trusted bool ocn_off() { - return opts["ocn-off"]; + return ((opts["ocn-off"]) || (opts["no-ocn"])) ? true : false; } @trusted bool pod() { return opts["pod"]; |