add /opt/lenaisten to devcontainer

This commit is contained in:
Jörn-Michael Miehe 2025-05-12 01:25:05 +00:00
parent fb930044a8
commit b99a770463
6 changed files with 20 additions and 13 deletions

View file

@ -9,3 +9,8 @@ COPY --chown=root:root \
/opt/texlive/texdir/texmf-dist/tex/latex/texoffice /opt/texlive/texdir/texmf-dist/tex/latex/texoffice
RUN /opt/texlive/texdir/bin/default/texconfig rehash RUN /opt/texlive/texdir/bin/default/texconfig rehash
# install lenaisten directory
COPY --chown=root:root \
lenaisten \
/opt/lenaisten

View file

@ -1,3 +1,5 @@
#%SRCPAT% \.md
############ ############
# Settings # # Settings #
############ ############
@ -41,7 +43,7 @@ compile_md = pandoc \
--standalone \ --standalone \
--from markdown \ --from markdown \
--to $(1) \ --to $(1) \
--template lenaisten \ --template lev-protokoll \
--variable colorlinks:true \ --variable colorlinks:true \
--variable csquotes:true \ --variable csquotes:true \
--variable lang:de-DE \ --variable lang:de-DE \
@ -81,16 +83,16 @@ md2pdfa = $(call md2pdf,$(1),-) | $(call convert_pdfa,-,$(2))
# pdf # pdf
%$(suffixPub).pdf: %.md lenaisten-defs.sty %$(suffixPub).pdf: %.md lev-shorthands.sty
python3 ./redact.py $< | $(call md2pdfa,-,$@) python3 /opt/lenaisten/redact.py $< | $(call md2pdfa,-,$@)
%$(suffixInt).pdf: %.md lenaisten-defs.sty %$(suffixInt).pdf: %.md lev-shorthands.sty
python3 ./redact.py -i $< | $(call md2pdfa,-,$@) python3 /opt/lenaisten/redact.py -i $< | $(call md2pdfa,-,$@)
# tex # tex
%$(suffixPub).tex: %.md lenaisten-defs.sty %$(suffixPub).tex: %.md lev-shorthands.sty
python3 ./redact.py $< | $(call compile_md,latex,-,$@) python3 /opt/lenaisten/redact.py $< | $(call compile_md,latex,-,$@)
%$(suffixInt).tex: %.md lenaisten-defs.sty %$(suffixInt).tex: %.md lev-shorthands.sty
python3 ./redact.py -i $< | $(call compile_md,latex,-,$@) python3 /opt/lenaisten/redact.py -i $< | $(call compile_md,latex,-,$@)

View file

@ -575,7 +575,7 @@ $endif$
%BOOKMARK begin lenaisten pre %BOOKMARK begin lenaisten pre
\usepackage[fixed]{fontawesome5} \usepackage[fixed]{fontawesome5}
\usepackage{lenaisten-defs} \usepackage{lev-shorthands}
\usepackage{lastpage} \usepackage{lastpage}
\usepackage{to-geom} \usepackage{to-geom}
\usepackage{graphicx} \usepackage{graphicx}
@ -599,7 +599,7 @@ $endif$
hshift=-3cm, hshift=-3cm,
vshift=-3cm, vshift=-3cm,
contents={% contents={%
\includegraphics[width=2cm]{logo.png}% \includegraphics[width=2cm]{/opt/lenaisten/logo/flat.png}%
}% }%
} }
@ -1007,7 +1007,7 @@ $endif$
{\usekomafont{date}\@date\par}% {\usekomafont{date}\@date\par}%
\makeatother% \makeatother%
\vskip 2cm% \vskip 2cm%
\includegraphics[width=2cm]{logo.png}% \includegraphics[width=2cm]{/opt/lenaisten/logo/flat.png}%
\vfill% \vfill%
\renewcommand{\arraystretch}{2}% \renewcommand{\arraystretch}{2}%
\begin{tabular}{c@{\hskip .25em}lll}% \begin{tabular}{c@{\hskip .25em}lll}%

View file

@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{lenaisten-defs}[2025/05/08 Lenaistenpaket 2025] \ProvidesPackage{lev-shorthands}[2025/05/08 Lenaistenpaket 2025]
% Namenskürzel % Namenskürzel
% Vorstand % Vorstand