Commit Graph

18 Commits

Author SHA1 Message Date
Peter Adam 0c4d630d8e Add build-blanko documentation to README
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:39:14 +02:00
Peter Adam b22f1f74a8 Increase card height to 9.5cm, add printer margins, and fix second card placement
- Extend card bottom from y=-7.2 to y=-8.2 (8.5cm → 9.5cm per card) so the
  second card naturally lands in the lower half of the page
- Increase all margins from 0.4cm to 0.6cm for printer compatibility; scale
  front tikzpicture x-axis to 0.990cm to compensate for narrower printable width
- Increase back side row height from 2.833cm to 3.167cm (matching new card height)
  and reduce column width from 7.0cm to 6.9cm to fit within new margins
- Reduce inter-card vspace from 0.8cm to 0.6cm to prevent second card page break

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 14:32:43 +02:00
Peter Adam f2eda5bf43 Add brevetkarte-blanko.tex to gitignore and clean target
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 09:35:34 +02:00
Peter Adam a2b5c6dc4a Add blanko build target, fix preamble duplication, update event config and margins
- Add --blanko flag to generate_cards.py for blank cards (no CSV needed), 2-up layout
- Fix preamble duplication bug affecting both blanko and multi-participant personalized builds
- Add make build-blanko target; default make now builds personalized + blanko
- Reduce page margins from 0.8cm to 0.4cm for Kyocera P6026
- Widen tikzpicture columns (6.9→7.2cm) and tabular columns (6.6→7.0cm) to fill page width
- Update event.yml for BRM400 Bonn–Lüttich–Bastogne–Bonn, 9. Mai 2026, with 6 controls

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-05 09:33:04 +02:00
Peter Adam 331e6e70a9 Rename CSV file to export_brevetcard.csv 2026-02-28 11:29:30 +01:00
Peter Adam 9b42f824f9 Remove static tex files, simplify Dockerfile and build workflow
- Remove brevetkarte.tex (unused static demo, superseded by template)
- Dockerfile: remove unnecessary COPY, workspace is volume-mounted at runtime
- Makefile: remove build-front, default target is now build-personalized
- README: remove references to removed files and targets

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 11:15:07 +01:00
Peter Adam c40fe447b0 Remove brevetkarte-rueckseite.tex 2026-02-28 10:58:27 +01:00
Peter Adam 82deb5ac15 Update .gitignore to exclude brevetkarte-rueckseite.tex 2026-02-28 10:57:44 +01:00
Peter Adam 74269c4fbb Add back side template and update README with event.yml workflow
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 10:53:36 +01:00
Peter Adam 84d8cfc2dc Add example YAML event configuration and update .gitignore
- Introduce `event.yml.example` providing a template for event-level configuration.
- Extend `.gitignore` to include `event.yml` to prevent committing real event data.
2026-02-28 10:47:31 +01:00
Peter Adam 9c4c7c6ccb 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.
2026-02-28 10:43:57 +01:00
Peter Adam f59c52551b Clarify README instructions for building both sides of the PDF 2026-02-28 10:18:54 +01:00
Peter Adam b3e7d99ec6 Translate README content to German 2026-02-28 10:17:16 +01:00
Peter Adam fbd55f841a Update README: document CSV workflow and file list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 10:15:07 +01:00
Peter Adam dbc3dc18ac Remove outdated 2025 brevet card PDF templates from README. 2026-02-28 10:14:19 +01:00
Peter Adam 4bb3806cc7 Switch to debian:bookworm-slim, drop enumitem and texlive-latex-extra
- Replace texlive/texlive:latest with debian:bookworm-slim + targeted
  TeX Live packages (texlive-latex-recommended, texlive-pictures,
  texlive-fonts-recommended)
- Remove \usepackage{enumitem} from brevetkarte.tex and template;
  replace list options with plain LaTeX \setlength equivalents
- Add Export Brevetkarte.csv to .gitignore (real participant data)
- Add Export Brevetkarte.csv.example with anonymised sample data

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 10:11:58 +01:00
Peter Adam b0e1dde22f Add CSV-based personalized card generation
Add template-based system for generating personalized brevet cards
from CSV data. Uses proper separation of concerns with template file
and Python script.

- Add brevetkarte-template.tex with placeholders
- Add generate_cards.py to read CSV and populate template
- Update Makefile with generate-personalized and build-personalized targets
- Update .gitignore to exclude generated files

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 14:47:56 +01:00
Peter Adam 3060d61279 Initial commit: Brevet card LaTeX sources
Add LaTeX templates for 200km brevet cards with front and back
sides. Includes Docker-based build system and documentation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-03 13:46:49 +01:00