Compare commits

..

2 commits

Author SHA1 Message Date
55d12f7c96 lev-dokument Revisionsliste 2025-05-15 22:19:17 +00:00
cd13b8f4c0 lev-dokument footer
- footer unification
- footsep 0.5cm -> 1.5cm (also for protokoll)
2025-05-15 22:12:11 +00:00
5 changed files with 83 additions and 22 deletions

View file

@ -1,13 +1,26 @@
---
title: Example PDF
author: Der Vorstand des Lenaisten e.V.
date: 30.11.2320
title: Example PDF
author: Der Vorstand des Lenaisten e.V.
revision: 0.1-alpha
date: 30.11.2320
subject: Markdown
keywords: [Markdown, Example]
subject: Markdown
keywords: [Markdown, Example]
Fusszeile: Hier könnte Ihre Werbung stehen
Revision: "0.1-alpha"
footer: Hier könnte Ihre Werbung stehen
Revisionsliste:
- Revision: 0.1-prealpha
Datum: 55.10.2320
Autor: Max Mustermann
Notizen: |
Ein Frosch auf Crack \newline
Eine Birne mit Bier
- Revision: 0.1-alpha
Datum: 30.11.2320
Autor: Jörn-Michael Miehe \newline \enquote{LDericher}
Notizen: Erste veröffentlichte Fassung
...
Vinaque sanguine metuenti cuiquam Alcyone fixus
@ -22,11 +35,11 @@ hamos ire arceor mandere spicula, in licet aliquando.
```java
public class Example implements LoremIpsum {
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
public static void main(String[] args) {
if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet");
}
} // Obscura atque coniuge, per de coniunx
}
```
@ -159,7 +172,7 @@ caelestum flammas ferre super et saevissime inmisit quoque suis sic aspergine
vis praerupit. Et puellae summa eventu.
Placeat ut medio *plectrumque inferni* Talia; pertimui opem.
\newpage
<!-- \newpage
Revisionsliste
=====
@ -168,4 +181,4 @@ Revisionsliste
| **Revision** | **Datum** | **Beschreibung** |
+:=============+:==========:+:==============================+
| 0.1-alpha | 30.11.2320 | Erste veröffentlichte Fassung |
+--------------+------------+-------------------------------+
+--------------+------------+-------------------------------+ -->

View file

@ -597,7 +597,7 @@ $endif$
% page setup
\TeXofficeHeadheight0cm
\TeXofficeHeadsep0cm
\TeXofficeFootsep.5cm
\TeXofficeFootsep1.5cm
\TeXofficeMargin2cm
% \TeXofficeOddsideMargin.5cm
\TeXofficeResetmargins
@ -637,8 +637,9 @@ $endif$
\AtBeginDocument{%
\TeXofficeAdjustfooter{%
\begin{minipage}[b]{.8\textwidth}%
\color{gray}$if(Revision)$Revision: $Revision$ \\$endif$%
$if(Fusszeile)$$Fusszeile$$else$Herausgegeben durch den Vorstand des Lenaisten e.V.$endif$%
\color{gray}Lenaisten e.V. -- Der Lena-Fanclub \\
\footnotesize $if(revision)$Revision: $revision$ \\$endif$%
$if(footer)$$footer$$else$Herausgegeben durch den Vorstand des Lenaisten e.V.$endif$%
\end{minipage}\hfill%
\begin{minipage}[b]{.15\textwidth}%
\raggedleft $date$ \\%
@ -1016,6 +1017,8 @@ $endif$
{\usekomafont{title}\@title\par}%
\vskip 1em%
{\usekomafont{author}\@author\par}%
$if(revision)$\vskip 1em%
{\usekomafont{date}Revision: $revision$\par}$endif$%
\vskip 1em%
{\usekomafont{date}\@date\par}%
\makeatother%
@ -1109,6 +1112,50 @@ $if(has-frontmatter)$
$endif$
$body$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%BOOKMARK begin lenaisten Revisionsliste
$if(Revisionsliste)$
\newpage
\section{Revisionsliste}
\begin{longtable}{%
@{}%
p{(\linewidth - 6\tabcolsep) * \real{0.15}}%
>{\centering\arraybackslash}%
p{(\linewidth - 6\tabcolsep) * \real{0.15}}%
p{(\linewidth - 6\tabcolsep) * \real{0.25}}%
p{(\linewidth - 6\tabcolsep) * \real{0.45}}%
@{}%
}%
\toprule%
\textbf{Revision} & \textbf{Datum} & \textbf{Autor} & \textbf{Notizen} \\%
\midrule%
\endfirsthead%
%
\toprule%
\textbf{Revision} & \textbf{Datum} & \textbf{Autor} & \textbf{Notizen} \\%
\midrule%
\endhead%
%
\bottomrule%
\endfoot%
%
\bottomrule%
\endlastfoot%
$for(Revisionsliste)$%
$Revisionsliste.Revision$ &
$Revisionsliste.Datum$ &
$Revisionsliste.Autor$ &
$Revisionsliste.Notizen$$sep$ \\ \midrule
$endfor$ \\
%
\end{longtable}%
$endif$
%BOOKMARK end lenaisten Revisionsliste
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$if(has-frontmatter)$
\backmatter
$endif$

View file

@ -6,7 +6,8 @@ PANDOCVARS := \
colorlinks:true \
csquotes:true \
hyperrefoptions:pdfa \
lang:de-DE
lang:de-DE \
tables:true
mdFiles := $(wildcard *.dok.md)
mdSuffix = $(patsubst %.dok.md,%$(1),$(mdFiles))

View file

@ -585,7 +585,7 @@ $endif$
% page setup
\TeXofficeHeadheight0cm
\TeXofficeHeadsep0cm
\TeXofficeFootsep.5cm
\TeXofficeFootsep1.5cm
\TeXofficeMargin2cm
\TeXofficeResetmargins
@ -626,7 +626,8 @@ $endif$
\AtBeginDocument{%
\TeXofficeAdjustfooter{%
\begin{minipage}[b]{.8\textwidth}%
\color{gray}\Lenafooter%
\color{gray}Lenaisten e.V. -- Der Lena-Fanclub \\
\footnotesize \Lenafooter%
\end{minipage} \hfill%
\begin{minipage}[b]{.15\textwidth}%
\raggedleft $date$ \\ Seite \pagemark\ von \pageref*{LastPage}%

View file

@ -40,8 +40,7 @@
% Fußzeile
\newcommand{\Lenafooter}{%
Lenaisten e.V. -- Der Lena-Fanclub \\
\footnotesize Vertreten durch den Vorstand: \JMM, \DSP, \PD, \JS \\
Vertreten durch den Vorstand: \JMM, \DSP, \PD, \JS \\
Eingetragen im Vereinsregister des Amtsgerichts Mönchengladbach VR 4726
}