Created
July 5, 2014 18:18
-
-
Save matematikaadit/4ee059690518a222f7bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
rm -rf "CIS 194" | |
mkdir "CIS 194" | |
for file in *.lhs; do | |
pandoc -V geometry:margin=1in -f markdown+lhs -t latex -o "CIS 194/${file%.lhs}.pdf" --latex-engine=xelatex "$file" | |
done | |
pdfdir-join "CIS 194" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, fyi, I've fixed the original script to avoid pdf merging with pdfdir-join. It's just a single command.