Skip to content

mwillers/AFuP_LaTeX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Questionaire-Generator for the German Radio Amateur Examination

  • generates LaTeX files to practice for the German Radio Amateur Examination
  • uses the questions provided by the "Bundesnetzagentur"

Features

  • specify list of questions (also with wildcards)
  • randomize answers (in the set of questions provided by the Bundesnetzagentur the first answer (A) is always the correct one ... a bit pointless for practicing)
  • mark the correct answer with a checkmark (to generate a "grading sheet")

Prepare

install miniconda and then install cairosvg

conda config --add channels conda-forge\nconda config --set channel_priority strict
conda install cairosvg

Usage

Download and unzip questions from Bundesnetzagentur

curl -L -o PruefungsfragenZIP.zip 'https://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Frequenzen/Amateurfunk/Fragenkatalog/PruefungsfragenZIP.zip?__blob=publicationFile&v=4'
unzip -d PruefungsfragenZIP PruefungsfragenZIP.zip

Convert SVGs to PDFs ... The script is lazy, if there is a PNG (as there is for some illustrations of transceivers) this is copied and renamed to PDF instead of a SVG being converted to PDF (the generated PDF would be all black and I'm too lazy to debug this), but in the end this does not matter for the LaTeX generation!

python convertSVG.py PruefungsfragenZIP/svgs/*.svg -o pdfs

generate LaTeX file(s)

 python generateLaTeX.py

compile LaTeX file

latexmk -pdf -f Questions_Check.tex

About

Generate a Questionaire (in LaTeX) to prepare for the German Amateur Radio Examination

Topics

Resources

License

Stars

Watchers

Forks

Languages