Changed output folder for PDF files and updated gitignore

Former-commit-id: 108fcd177c
This commit is contained in:
Victor Andersson
2025-09-24 16:32:04 +02:00
parent c5bfc0f378
commit 00f2ff88e5
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
*.pdf
*.pdf_tex
*.patch

View File

@@ -4,10 +4,12 @@ cd "$(dirname "$0")"
cd ..
mkdir -p pdf
cd latex
for file in ../markdown/*.md; do
filename=$(basename "$file" .md)
pandoc "$file" -o "../test/$filename.pdf" "--template=policymall.tex" "--pdf-engine=xelatex" "--pdf-engine-opt=-shell-escape"
pandoc "$file" -o "../pdf/$filename.pdf" "--template=policymall.tex" "--pdf-engine=xelatex" "--pdf-engine-opt=-shell-escape"
done