From 2eff2b6306cc5db64fa444ae070849ec547f038a Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 25 May 2022 16:31:55 -0400 Subject: pdf output links, should user choose to have it --- src/doc_reform/spine.d | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/doc_reform/spine.d') diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d index 06b483c..6d1a133 100755 --- a/src/doc_reform/spine.d +++ b/src/doc_reform/spine.d @@ -136,6 +136,7 @@ string program_name = "spine"; "curate-topics" : false, "html" : false, "html-link-curate" : false, + "html-link-pdf" : false, "html-link-search" : false, "html-seg" : false, "html-scroll" : false, @@ -237,6 +238,7 @@ string program_name = "spine"; "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"], + "html-link-pdf", "provide a link to pdf a4 output", &opts["html-link-pdf"], "html-link-search", "html embedded search submission", &opts["html-link-search"], "html-seg", "process html output", &opts["html-seg"], "html-scroll", "process html output", &opts["html-scroll"], @@ -408,6 +410,9 @@ string program_name = "spine"; @trusted bool html_curate_link() { return (opts["html-link-curate"]) ? true : false; } + @trusted bool html_pdf_link() { + return (opts["html-link-pdf"]) ? true : false; + } @trusted bool html_search_link() { return (opts["html-link-search"]) ? true : false; } -- cgit v1.2.3