adds template and makefiles

This commit is contained in:
Michael Beck
2024-12-04 17:21:40 +01:00
parent 069982527e
commit 7569cc0782
11 changed files with 2699 additions and 0 deletions

25
make.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
FILENAME="ResearchProposal"
IN="${FILENAME}.md"
OUT="${FILENAME}.pdf"
# Generate the PDF from Markdown
echo "Generating PDF..."
pandoc -i "$IN" \
-o "$OUT" \
--csl=apa-7th-edition.csl \
--citeproc \
--lua-filter=filters/first-line-indent.lua \
--citation-abbreviations=citation-abbreviations.csl
# Check if pandoc ran successfully
if [ $? -ne 0 ]; then
echo "Error: pandoc command failed. Exiting script."
exit 1
fi
# Insert Erklärung.pdf at the end of the PDF
echo "Modifying the PDF..."
./modify-pdf.sh "$OUT" "Erklärung.pdf" "$OUT"