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

@ -16,11 +16,11 @@ header-includes: |
\setlength{\textheight}{700pt} \setlength{\textheight}{700pt}
\setlength{\footskip}{25pt} \setlength{\footskip}{25pt}
\setlength{\headheight}{55pt} \setlength{\headheight}{55pt}
\rhead{\includegraphics[height=\headheight]{Logo.png}} \rhead{\includegraphics[height=\headheight]{../Logo.png}}
\lhead{ \lhead{
Current version date: \today \\ Current version date: \today \\
Editor: \\ Editor: \\
Title: Mitgliederversammlung 2025 Title: Mitgliederversammlung 2024
} }
\cfoot{\thepage} \cfoot{\thepage}
\renewcommand{\footrulewidth}{0.4pt} \renewcommand{\footrulewidth}{0.4pt}

View file

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