diff options
Diffstat (limited to 'src/doc_reform/io_out/xmls.d')
-rw-r--r-- | src/doc_reform/io_out/xmls.d | 17 |
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"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s<a href="%smetadata.%s.html"> m </a>|<a href="%s../../authors.html"> A </a>|<a href="%s../../topics.html"> T </a>]</p>┃", + string metadata_links = ((doc_matters.opt.action.html_link_curate) + ? format(q"┃<p class="small">[<a href="%s"> ≅ </a>|<a href="%s"> %s </a>|<a href="%sepub/%s.%s.epub"> ◆ </a>|%s%s<a href="%smetadata.%s.html"> m </a>|<a href="%s../../authors.html"> A </a>|<a href="%s../../topics.html"> T </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\"> □ </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\"> □ </a>|") + : "", (type == "seg") ? "../" : "", doc_matters.src.filename_base, (type == "seg") ? "../" : "", |