diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-29 12:47:35 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2024-05-29 12:48:50 -0400 |
commit | 39d2dfabac93c700d6888e51ad582076658b23cc (patch) | |
tree | a3ada0c75e1e1ceaa1125b0fd770488724625614 /org/out_latex.org | |
parent | README, further note on using nix for installation (diff) |
latex footers from document header make, a fix
Diffstat (limited to 'org/out_latex.org')
-rw-r--r-- | org/out_latex.org | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/org/out_latex.org b/org/out_latex.org index daafd37..bb9d6cb 100644 --- a/org/out_latex.org +++ b/org/out_latex.org @@ -1810,13 +1810,11 @@ string _footer(M)(M doc_matters) { 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)) { |