aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-04-02 10:37:34 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2022-04-03 18:13:53 -0400
commit4b0ae05439e2f5c33c452bd39baed3b8198ccc4a (patch)
tree85c4bc117bdfd3ff1aa967c8a1d4f337db647444 /org/spine.org
parentlatex header, work on (& some code formatting) (diff)
latex head adjustments
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/org/spine.org b/org/spine.org
index ea133cc..4423f97 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -348,6 +348,7 @@ bool[string] opts = [
"debug-stages" : false,
"digest" : false,
"epub" : false,
+ "generated-by" : false,
"curate" : false,
"curate-authors" : false,
"curate-topics" : false,
@@ -461,6 +462,7 @@ auto helpInfo = getopt(args,
"dark", "alternative dark theme", &opts["dark"],
"digest", "hash digest for each object", &opts["digest"],
"epub", "process epub output", &opts["epub"],
+ "generated-by", "generated by headers (software version & time)", &opts["generated-by"],
"hide-ocn", "object cite numbers", &opts["hide-ocn"],
"html", "process html output", &opts["html"],
"html-link-curate", "place links back to curate in segmented html", &opts["html-link-curate"],
@@ -468,7 +470,7 @@ auto helpInfo = getopt(args,
"html-seg", "process html output", &opts["html-seg"],
"html-scroll", "process html output", &opts["html-scroll"],
"lang", "=[lang code e.g. =en or =en,es]", &settings["lang"],
- "latex", "output for pdfs", &opts["latex"],
+ "latex", "latex output (for pdfs)", &opts["latex"],
"latex-color-links", "mono or color links for pdfs", &opts["latex-color-links"],
"light", "default light theme", &opts["light"],
"manifest", "process manifest output", &opts["manifest"],
@@ -633,6 +635,9 @@ struct OptActions {
@trusted bool epub() {
return opts["epub"];
}
+ @trusted bool generated_by() {
+ return opts["generated-by"];
+ }
@trusted bool html_curate_link() {
return (opts["html-link-curate"]) ? true : false;
}