aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/xmls.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/io_out/xmls.d')
-rw-r--r--src/doc_reform/io_out/xmls.d17
1 files changed, 13 insertions, 4 deletions
diff --git a/src/doc_reform/io_out/xmls.d b/src/doc_reform/io_out/xmls.d
index d7d3436..0b0dce7 100644
--- a/src/doc_reform/io_out/xmls.d
+++ b/src/doc_reform/io_out/xmls.d
@@ -256,7 +256,7 @@ template outputXHTMLs() {
) {
string o;
string _form;
- if (doc_matters.opt.action.html_search_link) {
+ if (doc_matters.opt.action.html_link_search) {
o = format(q"┃
<div class="flex-menu-option">
<!-- SiSU Spine Search -->
@@ -289,8 +289,8 @@ template outputXHTMLs() {
string type,
) {
string o;
- string metadata_links = ((doc_matters.opt.action.html_curate_link)
- ? format(q"┃<p class="small">[<a href="%s">&nbsp;≅&nbsp;</a>|<a href="%s">&nbsp;%s&nbsp;</a>|<a href="%sepub/%s.%s.epub">&nbsp;◆&nbsp;</a>|%s<a href="%smetadata.%s.html">&nbsp;m&nbsp;</a>|<a href="%s../../authors.html">&nbsp;A&nbsp;</a>|<a href="%s../../topics.html">&nbsp;T&nbsp;</a>]</p>┃",
+ string metadata_links = ((doc_matters.opt.action.html_link_curate)
+ ? format(q"┃<p class="small">[<a href="%s">&nbsp;≅&nbsp;</a>|<a href="%s">&nbsp;%s&nbsp;</a>|<a href="%sepub/%s.%s.epub">&nbsp;◆&nbsp;</a>|%s%s<a href="%smetadata.%s.html">&nbsp;m&nbsp;</a>|<a href="%s../../authors.html">&nbsp;A&nbsp;</a>|<a href="%s../../topics.html">&nbsp;T&nbsp;</a>]</p>┃",
(doc_matters.opt.action.webserver_url_doc_root.length > 0)
? doc_matters.opt.action.webserver_url_doc_root
: doc_matters.conf_make_meta.conf.w_srv_data_root_url
@@ -302,7 +302,7 @@ template outputXHTMLs() {
(type == "seg") ? "../../" : "../",
doc_matters.src.filename_base,
doc_matters.src.lng,
- (doc_matters.opt.action.html_pdf_link)
+ (doc_matters.opt.action.html_link_pdf || doc_matters.opt.action.html_link_pdf_a4)
? ("<a href=\""
~ ((type == "seg") ? "../../../" : "../../")
~ "pdf/"
@@ -311,6 +311,15 @@ template outputXHTMLs() {
~ doc_matters.src.lng
~ ".a4.portrait.pdf\">&nbsp;□&nbsp;</a>|")
: "",
+ (doc_matters.opt.action.html_link_pdf || doc_matters.opt.action.html_link_pdf_letter)
+ ? ("<a href=\""
+ ~ ((type == "seg") ? "../../../" : "../../")
+ ~ "pdf/"
+ ~ doc_matters.src.filename_base
+ ~ "."
+ ~ doc_matters.src.lng
+ ~ ".letter.portrait.pdf\">&nbsp;□&nbsp;</a>|")
+ : "",
(type == "seg") ? "../" : "",
doc_matters.src.filename_base,
(type == "seg") ? "../" : "",