From 046d9c920ac2439d02a18517083449f0e99f9e9d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 19 Jan 2026 18:10:31 +0100 Subject: add and support HTML templates --- Readme.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'Readme.md') diff --git a/Readme.md b/Readme.md index 07b6e17..1e9e007 100644 --- a/Readme.md +++ b/Readme.md @@ -1,4 +1,4 @@ -# simple script to generate random seating plans using LaTeX templates +# simple script to generate random seating plans using templates ## Usage @@ -15,18 +15,24 @@ options: ``` +Pipeline to generate a HTML seating plan from a Infoportal csv class list. + +```sh +cat Klassenliste.csv | cut -f2 -d';' | ./spgen.py templates/8,9,9,4.html --seats=n > class.html +``` + ## Available Templates ``` templates -└── 4x(2,5).tex - -1 directory, 1 file +├── 4x(2,5).tex +├── 8,9,9,4.html +└── 8,9,9,4.tex ``` ## Requirements -* python >= 3.11 +* python >= 3.10 The requirements can be installed in virtual environment using [`pipenv`](https://pipenv.pypa.io/). -- cgit v1.2.3