diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-26 11:01:21 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-05-27 15:33:38 -0400 |
commit | dadc2caf1369f8268ada37b0a9779d2bb1c6cee4 (patch) | |
tree | d32181c3bae0c1abc0261e48dde676b5c051ba4d /org/out_xmls.org | |
parent | pdf output links, should user choose to have it (diff) |
html links to output, flags for a bit finer control
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r-- | org/out_xmls.org | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org index 7f3f52a..e1b7f0b 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -364,7 +364,7 @@ import ) { 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 --> @@ -403,8 +403,8 @@ import 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 @@ -416,7 +416,7 @@ import (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/" @@ -425,6 +425,15 @@ import ~ 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") ? "../" : "", |