5
0
Fork 0

fix logo inclusion

This commit is contained in:
kleines Filmröllchen 2026-02-08 16:24:01 +01:00
parent 028ae6b26f
commit 6a777ce762
Signed by: filmroellchen
SSH key fingerprint: SHA256:UMhcHaeI+VGsiUL2Drpw3aj1iRiQUlx8nxZqUPvoaVw
2 changed files with 3 additions and 3 deletions

View file

@ -84,7 +84,7 @@ if [[ "$ending" == "pdf" ]]; then
sedfile=$script/body.sed
sed -i 's,Editor:.*,Editor: '"$editor"' \\\\,' $header
sed -i 's,Title:.*,Title: '"$title"',' $header
sed -i 's,textwidth]{.*,textwidth]{'"$picture"'}},' $header
sed -i 's,{Logo.png},{'"$picture"'},' $header
if "$toc"; then
cat $file.md $header | sed -E -f $sedfile| pandoc --filter pandoc_latex_environment.py --number-sections --toc -i - -o $file.pdf
else