aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/io_out
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-05-29 12:47:35 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-05-29 12:48:50 -0400
commit39d2dfabac93c700d6888e51ad582076658b23cc (patch)
treea3ada0c75e1e1ceaa1125b0fd770488724625614 /src/sisudoc/io_out
parentREADME, further note on using nix for installation (diff)
latex footers from document header make, a fix
Diffstat (limited to 'src/sisudoc/io_out')
-rw-r--r--src/sisudoc/io_out/latex.d12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/sisudoc/io_out/latex.d b/src/sisudoc/io_out/latex.d
index a6867cb..771bc57 100644
--- a/src/sisudoc/io_out/latex.d
+++ b/src/sisudoc/io_out/latex.d
@@ -995,13 +995,11 @@ template outputLaTeX() {
string _ft_2 = format(q"┃
\cfoot{\href{%s}{%s}}┃", "https://git.sisudoc.org", "git",);
if (doc_matters.conf_make_meta.make.footer.length > 0) {
- if (doc_matters.conf_make_meta.make.footer.length > 0) {
- if (doc_matters.conf_make_meta.make.footer[0].matchAll(rgx.inline_link)) {
- _ft ~= doc_matters.conf_make_meta.make.footer[0]
- .replace(rgx.inline_link, "{\\tiny \\href{$2}{$1}}");
- } else {
- _ft ~= _ft_1;
- }
+ if (doc_matters.conf_make_meta.make.footer[0].matchAll(rgx.inline_link)) {
+ _ft ~= doc_matters.conf_make_meta.make.footer[0]
+ .replace(rgx.inline_link, "{\\tiny \\href{$2}{$1}}");
+ } else {
+ _ft ~= _ft_1;
}
if (doc_matters.conf_make_meta.make.footer.length > 1) {
if (doc_matters.conf_make_meta.make.footer[1].matchAll(rgx.inline_link)) {