aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/spine.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/spine.d')
-rwxr-xr-xsrc/doc_reform/spine.d5
1 files changed, 5 insertions, 0 deletions
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;
}