aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/spine.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-xsrc/doc_reform/spine.d7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d
index 6f6f168..de069c9 100755
--- a/src/doc_reform/spine.d
+++ b/src/doc_reform/spine.d
@@ -130,6 +130,7 @@ string program_name = "spine";
"debug-stages" : false,
"digest" : false,
"epub" : false,
+ "generated-by" : false,
"curate" : false,
"curate-authors" : false,
"curate-topics" : false,
@@ -229,6 +230,7 @@ string program_name = "spine";
"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"],
@@ -236,7 +238,7 @@ string program_name = "spine";
"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"],
@@ -394,6 +396,9 @@ string program_name = "spine";
@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;
}