From ab6c344aabe6cbc13b2bb9c6f288b3b7f0f84c96 Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Wed, 31 Jul 2019 18:44:42 +0100 Subject: [PATCH] updates compiler script --- bin/.bin/compiler | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/.bin/compiler b/bin/.bin/compiler index 4ab7299e..e88f4006 100755 --- a/bin/.bin/compiler +++ b/bin/.bin/compiler @@ -33,9 +33,9 @@ mdtype(){ \ command=${2:-"default"} echo "$command" case "$command" in - "fplreport") pandoc "$file" --metadata-file="$HOME/.dotfiles/pandoc/defaults.yaml" --template fellowship.latex --pdf-engine=xelatex -o "${base}.pdf" ;; - "letter") pandoc "$file" --metadata-file="$HOME/.dotfiles/pandoc/defaults.yaml" --template template-letter.tex -o "${base}.pdf" ;; - *) pandoc "$file" --metadata-file="$HOME/.dotfiles/pandoc/defaults.yaml" -o "$base".pdf ;; + "fplreport") pandoc "$file" --metadata-file="$HOME/.pandoc/defaults.yaml" --template fellowship.latex --pdf-engine=xelatex -o "${base}.pdf" ;; + "letter") pandoc "$file" --metadata-file="$HOME/.pandoc/defaults.yaml" --template template-letter.tex -o "${base}.pdf" ;; + *) pandoc "$file" --metadata-file="$HOME/.pandoc/defaults.yaml" -o "$base".pdf ;; esac }