aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2020-02-06 08:55:48 -0500
committerRalph Amissah <ralph@amissah.com>2020-02-26 09:59:18 -0500
commitfc25d90c46f454448a41438c62fdd7dad5105946 (patch)
tree38e6bc56211a2392d8a87b81fd031441a79faa65 /org/spine.org
parentimports related, mostly cosmetic (diff)
latex outputs (various paper sizes & orientation)
- a4, a5, b4, letter, legal - portrait, landscape
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/org/spine.org b/org/spine.org
index 4b66711..79787c2 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -368,6 +368,7 @@ bool[string] opts = [
"html-seg" : false,
"html-scroll" : false,
"latex" : false,
+ "latex-color-links" : false,
"light" : false,
"manifest" : false,
"hide-ocn" : false,
@@ -377,6 +378,7 @@ bool[string] opts = [
"parallel" : false,
"parallel-subprocesses" : false,
"pdf" : false,
+ "pdf-color-links" : false,
"quiet" : false,
"pod" : false,
"serial" : false,
@@ -432,6 +434,7 @@ auto helpInfo = getopt(args,
"html-seg", "--html-seg process html output", &opts["html-seg"],
"html-scroll", "--html-seg process html output", &opts["html-scroll"],
"latex", "--latex output for pdfs", &opts["latex"],
+ "latex-color-links", "--latex-color-links mono or color links for pdfs", &opts["latex-color-links"],
"light", "--light default light theme", &opts["light"],
"manifest", "--manifest process manifest output", &opts["manifest"],
"hide-ocn", "--hide-ocn object cite numbers", &opts["hide-ocn"],
@@ -442,6 +445,7 @@ auto helpInfo = getopt(args,
"parallel-subprocesses", "--parallel-subprocesses nested parallelisation", &opts["parallel-subprocesses"],
"quiet|q", "--quiet output to terminal", &opts["quiet"],
"pdf", "--pdf latex output for pdfs", &opts["pdf"],
+ "pdf-color-links", "--pdf-color-links mono or color links for pdfs", &opts["pdf-color-links"],
"pod", "--pod spine (doc reform) pod source content bundled", &opts["pod"],
"serial", "--serial serial processing", &opts["serial"],
"show-summary", "--show-summary", &opts["show-summary"],
@@ -546,6 +550,9 @@ struct OptActions {
@trusted bool latex() {
return (opts["latex"] || opts["pdf"]) ? true : false;
}
+ @trusted bool latex_color_links() {
+ return (opts["latex-color-links"] || opts["pdf-color-links"]) ? true : false;
+ }
@trusted bool odt() {
return (opts["odf"] || opts["odt"]) ? true : false;
}