had claude write the docs. also re-structured a bit.

This commit is contained in:
2025-07-11 22:49:41 -05:00
parent 8ca9fc587a
commit 1773214e26
4 changed files with 288 additions and 0 deletions

16
pandoc/makepdf.sh Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
INPUT_FILE="$1"
OUTPUT_FILE="$(echo $INPUT_FILE|awk -F '.' '{print $1}').pdf"
METADATA_FILE="$2"
TEMPLATE="eisvogel"
#Recommendation for production : proper error handling / arg checking etc (as we do in our SAAS paid version of this)
pandoc \
$INPUT_FILE \
-o $OUTPUT_FILE \
--template $TEMPLATE \
--metadata-file=$METADATA_FILE \
--from markdown \
$PANDOC_OPTIONS