Refactor PDF generation workflow, integrate YAML-based event config, and simplify Makefile scripts.
- Replace `generate-personalized` with unified `generate` target in Makefile, supporting event config integration. - Add YAML parsing to `generate_cards.py` for event-level placeholders and back side generation. - Update templates to include `EVENT_*` placeholders and dynamic content rendering. - Simplify `build` and `build-personalized` targets; consolidate redundant logic. - Enhance `make help` documentation for updated workflow. - Adjust LaTeX formatting for back side templates, removing hardcoded spacing.
This commit is contained in:
@@ -71,7 +71,6 @@
|
||||
\item Rücksicht in den Kontrollen
|
||||
\end{itemize}}
|
||||
\hspace{0.3cm}$\Rightarrow$ \textbf{\underline{Bei Verstoß keine Wertung!}}\\[0.3cm]
|
||||
-
|
||||
};
|
||||
|
||||
\node[anchor=south west,text width=6.6cm,font=\small,align=left] at (0.2,-7.0) {
|
||||
@@ -101,7 +100,7 @@
|
||||
PLZ/Ort: {{PLZ_ORT}}\\[0.4cm]
|
||||
Land: {{LAND}}\\[0.4cm]
|
||||
Medaille: {{MEDAILLE}}\\[0.6cm]
|
||||
Startzeit: 8:30
|
||||
Startzeit: {{EVENT_STARTZEIT}}
|
||||
};
|
||||
|
||||
% Column 4 - Event Info (right section)
|
||||
@@ -110,12 +109,12 @@
|
||||
};
|
||||
|
||||
\node[anchor=north,text width=6.6cm,font=\small,align=center] at (24.15,-2.2) {
|
||||
\textbf{Auf eine Pommes nach Belgien}\\
|
||||
Randonnée über \textbf{200} km\\
|
||||
am \textbf{20. September 2025}\\
|
||||
mit Start in \textbf{Bonn, Uni-Sportgelände}\\
|
||||
von \textbf{ARA Rheinland}\\
|
||||
N° ACP du Club \textbf{111011}
|
||||
\textbf{{{EVENT_TITLE}}}\\
|
||||
Randonnée über \textbf{{{EVENT_KM}}} km\\
|
||||
am \textbf{{{EVENT_DATE}}}\\
|
||||
mit Start in \textbf{{{EVENT_START}}}\\
|
||||
von \textbf{{{EVENT_CLUB}}}\\
|
||||
N° ACP du Club \textbf{{{EVENT_CLUB_NR}}}
|
||||
};
|
||||
|
||||
\node[anchor=south,text width=6.6cm,font=\scriptsize,align=center] at (24.15,-7.0) {
|
||||
|
||||
Reference in New Issue
Block a user