From 2eff2b6306cc5db64fa444ae070849ec547f038a Mon Sep 17 00:00:00 2001
From: Ralph Amissah
Date: Wed, 25 May 2022 16:31:55 -0400
Subject: pdf output links, should user choose to have it
---
org/out_metadata.org | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
(limited to 'org/out_metadata.org')
diff --git a/org/out_metadata.org b/org/out_metadata.org
index f0106d8..605c32e 100644
--- a/org/out_metadata.org
+++ b/org/out_metadata.org
@@ -79,6 +79,7 @@ if (doc_matters.opt.action.debug_do) {
}
auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language);
auto pth_epub = spinePathsEPUB!()(doc_matters.output_path, doc_matters.src.language);
+auto pth_pdf = spinePathsPDF!()(doc_matters);
auto pth_pod = spinePathsPods!()(doc_matters);
metadata_ ~= format(q"┃
@@ -138,7 +139,15 @@ metadata_ ~= "● outputs: ["
~ " ▤ html seg ]"
~ "["
- ~ " ◆ epub ]
";
+ ~ " ◆ epub ]";
+if (doc_matters.opt.action.html_pdf_link) {
+ metadata_ ~= "["
+ ~ " □ a4 pdf ]
";
+} else {
+ metadata_ ~= "";
+}
if (doc_matters.conf_make_meta.meta.classify_topic_register_arr.length > 0) {
metadata_ ~= "
Topics:
";
string[] _top = ["", "", "", "", ""];
--
cgit v1.2.3