From fc25d90c46f454448a41438c62fdd7dad5105946 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 6 Feb 2020 08:55:48 -0500 Subject: latex outputs (various paper sizes & orientation) - a4, a5, b4, letter, legal - portrait, landscape --- org/spine.org | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'org/spine.org') 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; } -- cgit v1.2.3