aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-01-19 18:10:31 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2026-01-19 18:10:31 +0100
commit046d9c920ac2439d02a18517083449f0e99f9e9d (patch)
tree252ee12222cf18e6ad9e50211e0b899df7007b2e /Readme.md
parent7134160ada7a3e08d4c463bcc410043125a203c5 (diff)
downloadspgen-046d9c920ac2439d02a18517083449f0e99f9e9d.tar.gz
spgen-046d9c920ac2439d02a18517083449f0e99f9e9d.zip
add and support HTML templatesHEADmain
Diffstat (limited to 'Readme.md')
-rw-r--r--Readme.md16
1 files changed, 11 insertions, 5 deletions
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/).