diff options
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r-- | org/out_xmls.org | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org index fa2acc0..7f3f52a 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -404,18 +404,27 @@ import ) { 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>|<a href="%smetadata.%s.html"> m </a>|<a href="%s../../authors.html"> A </a>|<a href="%s../../topics.html"> T </a>]</p>┃", + ? 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>┃", (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 - , // HOME index.html equivalent _cfg.www_url_doc_root, + ? doc_matters.opt.action.webserver_url_doc_root + : doc_matters.conf_make_meta.conf.w_srv_data_root_url + , // HOME index.html equivalent _cfg.www_url_doc_root, (type == "seg") - ? "../" ~ doc_matters.src.filename_base ~ ".html" - : "./" ~ doc_matters.src.filename_base ~ "/toc.html", + ? "../" ~ doc_matters.src.filename_base ~ ".html" + : "./" ~ doc_matters.src.filename_base ~ "/toc.html", (type == "seg") ? "▣" : "▤", // ■ □ ▢ ▣ ▤ ▥ ▦ ▧ ▨ 〓 (type == "seg") ? "../../" : "../", doc_matters.src.filename_base, doc_matters.src.lng, + (doc_matters.opt.action.html_pdf_link) + ? ("<a href=\"" + ~ ((type == "seg") ? "../../../" : "../../") + ~ "pdf/" + ~ doc_matters.src.filename_base + ~ "." + ~ doc_matters.src.lng + ~ ".a4.portrait.pdf\"> □ </a>|") + : "", (type == "seg") ? "../" : "", doc_matters.src.filename_base, (type == "seg") ? "../" : "", |