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 title: Example PDF
author: Der Vorstand des Lenaisten e.V. author: Der Vorstand des Lenaisten e.V.
date: 30.11.2320 revision: 0.1-alpha
date: 30.11.2320
subject: Markdown subject: Markdown
keywords: [Markdown, Example] keywords: [Markdown, Example]
Fusszeile: Hier könnte Ihre Werbung stehen footer: Hier könnte Ihre Werbung stehen
Revision: "0.1-alpha"
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 Vinaque sanguine metuenti cuiquam Alcyone fixus
@ -22,11 +35,11 @@ hamos ire arceor mandere spicula, in licet aliquando.
```java ```java
public class Example implements LoremIpsum { public class Example implements LoremIpsum {
public static void main(String[] args) { public static void main(String[] args) {
if(args.length < 2) { if(args.length < 2) {
System.out.println("Lorem ipsum dolor sit amet"); System.out.println("Lorem ipsum dolor sit amet");
} }
} // Obscura atque coniuge, per de coniunx } // 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. vis praerupit. Et puellae summa eventu.
Placeat ut medio *plectrumque inferni* Talia; pertimui opem. Placeat ut medio *plectrumque inferni* Talia; pertimui opem.
\newpage <!-- \newpage
Revisionsliste Revisionsliste
===== =====
@ -168,4 +181,4 @@ Revisionsliste
| **Revision** | **Datum** | **Beschreibung** | | **Revision** | **Datum** | **Beschreibung** |
+:=============+:==========:+:==============================+ +:=============+:==========:+:==============================+
| 0.1-alpha | 30.11.2320 | Erste veröffentlichte Fassung | | 0.1-alpha | 30.11.2320 | Erste veröffentlichte Fassung |
+--------------+------------+-------------------------------+ +--------------+------------+-------------------------------+ -->

View file

@ -597,7 +597,7 @@ $endif$
% page setup % page setup
\TeXofficeHeadheight0cm \TeXofficeHeadheight0cm
\TeXofficeHeadsep0cm \TeXofficeHeadsep0cm
\TeXofficeFootsep.5cm \TeXofficeFootsep1.5cm
\TeXofficeMargin2cm \TeXofficeMargin2cm
% \TeXofficeOddsideMargin.5cm % \TeXofficeOddsideMargin.5cm
\TeXofficeResetmargins \TeXofficeResetmargins
@ -637,8 +637,9 @@ $endif$
\AtBeginDocument{% \AtBeginDocument{%
\TeXofficeAdjustfooter{% \TeXofficeAdjustfooter{%
\begin{minipage}[b]{.8\textwidth}% \begin{minipage}[b]{.8\textwidth}%
\color{gray}$if(Revision)$Revision: $Revision$ \\$endif$% \color{gray}Lenaisten e.V. -- Der Lena-Fanclub \\
$if(Fusszeile)$$Fusszeile$$else$Herausgegeben durch den Vorstand des Lenaisten e.V.$endif$% \footnotesize $if(revision)$Revision: $revision$ \\$endif$%
$if(footer)$$footer$$else$Herausgegeben durch den Vorstand des Lenaisten e.V.$endif$%
\end{minipage}\hfill% \end{minipage}\hfill%
\begin{minipage}[b]{.15\textwidth}% \begin{minipage}[b]{.15\textwidth}%
\raggedleft $date$ \\% \raggedleft $date$ \\%
@ -1016,6 +1017,8 @@ $endif$
{\usekomafont{title}\@title\par}% {\usekomafont{title}\@title\par}%
\vskip 1em% \vskip 1em%
{\usekomafont{author}\@author\par}% {\usekomafont{author}\@author\par}%
$if(revision)$\vskip 1em%
{\usekomafont{date}Revision: $revision$\par}$endif$%
\vskip 1em% \vskip 1em%
{\usekomafont{date}\@date\par}% {\usekomafont{date}\@date\par}%
\makeatother% \makeatother%
@ -1109,6 +1112,50 @@ $if(has-frontmatter)$
$endif$ $endif$
$body$ $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)$ $if(has-frontmatter)$
\backmatter \backmatter
$endif$ $endif$

View file

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

View file

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

View file

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