diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8c7f75f..c88d316 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -9,3 +9,8 @@ COPY --chown=root:root \ /opt/texlive/texdir/texmf-dist/tex/latex/texoffice RUN /opt/texlive/texdir/bin/default/texconfig rehash + +# install lenaisten directory +COPY --chown=root:root \ + lenaisten \ + /opt/lenaisten diff --git a/logo.png b/.devcontainer/lenaisten/logo/flat.png similarity index 100% rename from logo.png rename to .devcontainer/lenaisten/logo/flat.png diff --git a/redact.py b/.devcontainer/lenaisten/redact.py similarity index 100% rename from redact.py rename to .devcontainer/lenaisten/redact.py diff --git a/Makefile b/Makefile index c5314ba..44db3e5 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +#%SRCPAT% \.md + ############ # Settings # ############ @@ -41,7 +43,7 @@ compile_md = pandoc \ --standalone \ --from markdown \ --to $(1) \ - --template lenaisten \ + --template lev-protokoll \ --variable colorlinks:true \ --variable csquotes:true \ --variable lang:de-DE \ @@ -81,16 +83,16 @@ md2pdfa = $(call md2pdf,$(1),-) | $(call convert_pdfa,-,$(2)) # pdf -%$(suffixPub).pdf: %.md lenaisten-defs.sty - python3 ./redact.py $< | $(call md2pdfa,-,$@) +%$(suffixPub).pdf: %.md lev-shorthands.sty + python3 /opt/lenaisten/redact.py $< | $(call md2pdfa,-,$@) -%$(suffixInt).pdf: %.md lenaisten-defs.sty - python3 ./redact.py -i $< | $(call md2pdfa,-,$@) +%$(suffixInt).pdf: %.md lev-shorthands.sty + python3 /opt/lenaisten/redact.py -i $< | $(call md2pdfa,-,$@) # tex -%$(suffixPub).tex: %.md lenaisten-defs.sty - python3 ./redact.py $< | $(call compile_md,latex,-,$@) +%$(suffixPub).tex: %.md lev-shorthands.sty + python3 /opt/lenaisten/redact.py $< | $(call compile_md,latex,-,$@) -%$(suffixInt).tex: %.md lenaisten-defs.sty - python3 ./redact.py -i $< | $(call compile_md,latex,-,$@) +%$(suffixInt).tex: %.md lev-shorthands.sty + python3 /opt/lenaisten/redact.py -i $< | $(call compile_md,latex,-,$@) diff --git a/lenaisten.latex b/lev-protokoll.latex similarity index 99% rename from lenaisten.latex rename to lev-protokoll.latex index a1f5c71..26a022d 100644 --- a/lenaisten.latex +++ b/lev-protokoll.latex @@ -575,7 +575,7 @@ $endif$ %BOOKMARK begin lenaisten pre \usepackage[fixed]{fontawesome5} -\usepackage{lenaisten-defs} +\usepackage{lev-shorthands} \usepackage{lastpage} \usepackage{to-geom} \usepackage{graphicx} @@ -599,7 +599,7 @@ $endif$ hshift=-3cm, vshift=-3cm, contents={% - \includegraphics[width=2cm]{logo.png}% + \includegraphics[width=2cm]{/opt/lenaisten/logo/flat.png}% }% } @@ -1007,7 +1007,7 @@ $endif$ {\usekomafont{date}\@date\par}% \makeatother% \vskip 2cm% - \includegraphics[width=2cm]{logo.png}% + \includegraphics[width=2cm]{/opt/lenaisten/logo/flat.png}% \vfill% \renewcommand{\arraystretch}{2}% \begin{tabular}{c@{\hskip .25em}lll}% diff --git a/lenaisten-defs.sty b/lev-shorthands.sty similarity index 95% rename from lenaisten-defs.sty rename to lev-shorthands.sty index 57b8f50..6823cc5 100644 --- a/lenaisten-defs.sty +++ b/lev-shorthands.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{lenaisten-defs}[2025/05/08 Lenaistenpaket 2025] +\ProvidesPackage{lev-shorthands}[2025/05/08 Lenaistenpaket 2025] % Namenskürzel % Vorstand