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 --- src/doc_reform/spine.d | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/doc_reform/spine.d') diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d index 53161c7..3f422b4 100755 --- a/src/doc_reform/spine.d +++ b/src/doc_reform/spine.d @@ -127,6 +127,7 @@ string program_name = "spine"; "html-seg" : false, "html-scroll" : false, "latex" : false, + "latex-color-links" : false, "light" : false, "manifest" : false, "hide-ocn" : false, @@ -136,6 +137,7 @@ string program_name = "spine"; "parallel" : false, "parallel-subprocesses" : false, "pdf" : false, + "pdf-color-links" : false, "quiet" : false, "pod" : false, "serial" : false, @@ -191,6 +193,7 @@ string program_name = "spine"; "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"], @@ -201,6 +204,7 @@ string program_name = "spine"; "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"], @@ -298,6 +302,9 @@ string program_name = "spine"; @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