diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-25 16:31:55 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-27 15:33:38 -0400 |
commit | 2eff2b6306cc5db64fa444ae070849ec547f038a (patch) | |
tree | d055e971cfdc6e36a296a6d20b3d1fea5747501f /org/spine.org | |
parent | sub dependency update, updates D-YAML (diff) |
pdf output links, should user choose to have it
Diffstat (limited to 'org/spine.org')
-rw-r--r-- | org/spine.org | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org/spine.org b/org/spine.org index f8e34e3..52c0e6c 100644 --- a/org/spine.org +++ b/org/spine.org @@ -355,6 +355,7 @@ bool[string] opts = [ "curate-topics" : false, "html" : false, "html-link-curate" : false, + "html-link-pdf" : false, "html-link-search" : false, "html-seg" : false, "html-scroll" : false, @@ -470,6 +471,7 @@ auto helpInfo = getopt(args, "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"], @@ -648,6 +650,9 @@ struct OptActions { @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; } |