closes #4; refined data collection

This commit is contained in:
Michael Beck
2024-12-18 18:28:11 +01:00
parent 95f1683326
commit 22989cf064
5 changed files with 1947 additions and 5 deletions

View File

@ -9,10 +9,10 @@ OUT="${FILENAME}.pdf"
echo "Generating PDF..."
pandoc -i "$IN" \
-o "$OUT" \
--csl=apa-7th-edition.csl \
--csl=resources/apa-7th-edition.csl \
--citeproc \
--lua-filter=filters/first-line-indent.lua \
--citation-abbreviations=citation-abbreviations.csl
--citation-abbreviations=resources/citation-abbreviations.csl
# Check if pandoc ran successfully
if [ $? -ne 0 ]; then
@ -20,9 +20,9 @@ if [ $? -ne 0 ]; then
exit 1
fi
Insert Erklärung.pdf at the end of the PDF
# Insert Erklärung.pdf at the end of the PDF
echo "Modifying the PDF..."
./modify-pdf.sh "$OUT" "Erklärung.pdf" "$OUT"
./modify-pdf.sh "$OUT" "resources/Erklärung.pdf" "$OUT"
# remove last page for osf.io
echo "Removing last page for OSF.io output and saving to OSF-$OUT"