A sh script to print certificates for some contests.
typst
: a LaTeX alternative, its package name hardly vary on different platforms- Source Han Serif: font used in the template
The input file list.CSV
should be like this:
清小华,三等奖,2024地球中微子暑期学校
华小清,二等奖,2024地球中微子暑期学校
You may modify template.typ
to customize the style.
There are two ways to run the script. Here are some examples, and you can use -h
to show the help message.
Create a secret.txt
file with the secret in it, then run:
./generate.sh
./generate.sh -s <your_secret>