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
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 #
############
@ -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,-,$@)

View file

@ -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}%

View file

@ -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