From f52daf22e3d4abe96843c11e2fe572d60eec22a2 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 16 May 2026 15:22:11 +0200 Subject: planet: start glossary --- Info/9/3/Planet/.gitignore | 1 + Info/9/3/Planet/Makefile | 5 ++++- Info/9/3/Planet/glossar-template.xml | 32 ++++++++++++++++++++++++++++++++ Info/9/3/Planet/glossar.yml | 6 ++++++ 4 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 Info/9/3/Planet/glossar-template.xml create mode 100644 Info/9/3/Planet/glossar.yml diff --git a/Info/9/3/Planet/.gitignore b/Info/9/3/Planet/.gitignore index 7c638fd3..4a1feadf 100644 --- a/Info/9/3/Planet/.gitignore +++ b/Info/9/3/Planet/.gitignore @@ -7,3 +7,4 @@ plots/ _minted/ *.fdb_latexmk *.fls +glossary.xml diff --git a/Info/9/3/Planet/Makefile b/Info/9/3/Planet/Makefile index eb361ec1..d4b77b40 100644 --- a/Info/9/3/Planet/Makefile +++ b/Info/9/3/Planet/Makefile @@ -28,7 +28,7 @@ COMMON_PANDOC_OPTIONS := --embed-resources --standalone \ PANDOC=pandoc $(COMMON_PANDOC_OPTIONS) -all: $(PLOTS) $(SRC:.md=.html) $(PRINTOUT) slides.pdf slides.pptx +all: $(PLOTS) $(SRC:.md=.html) $(PRINTOUT) slides.pdf slides.pptx glossar.xml %.html: %.md planet-mebis-page-template.html $(PANDOC) --template planet-mebis-page-template.html --resource-path="$(@D):." $< > $@ @@ -58,3 +58,6 @@ slides.pdf: slides.md slides.pptx: slides.pdf $(MAKE) -f Makefile.slides slides.pptx + +glossar.xml: glossar.yml glossar-template.xml + echo | pandoc --metadata-file=glossar.yml --template=glossar-template.xml -t html -o $@ diff --git a/Info/9/3/Planet/glossar-template.xml b/Info/9/3/Planet/glossar-template.xml new file mode 100644 index 00000000..7be87db0 --- /dev/null +++ b/Info/9/3/Planet/glossar-template.xml @@ -0,0 +1,32 @@ + + + + $title$ + $if(intro)$$intro$$endif$ + 0 + 0 + dictionary + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 100 + +$for(entries)$ + + $it.name$ + $it.def$ + $if(it.format)$$it.format$$else$0$endif$ + $if(it.definitiontrust)$$it.definitiontrust$$else$0$endif$ + $if(it.usedynalink)$$it.usedynalin$k$else$1$endif$ + $if(it.casesensitive)$$it.casesensitive$$else$0$endif$ + $if(it.fullmatch)$$it.fullmatch$$else$0$endif$ + 1 + +$endfor$ + + + diff --git a/Info/9/3/Planet/glossar.yml b/Info/9/3/Planet/glossar.yml new file mode 100644 index 00000000..cca2bd36 --- /dev/null +++ b/Info/9/3/Planet/glossar.yml @@ -0,0 +1,6 @@ +title: Glossar +entries: + - name: Methode + def: Fähigkeit eines Objekts + - name: Methodenaufruf + def: Botschaft an ein Objekt, seine Methode auszuführen -- cgit v1.2.3