Adds some default yaml options

master
Jonathan Hodgson 6 years ago
parent 1255081ebd
commit 07bb369d8a
  1. 6
      bin/compiler
  2. 1
      pandoc/defaults.yaml

@ -33,9 +33,9 @@ mdtype(){ \
command=${2:-"default"}
echo "$command"
case "$command" in
"fplreport") pandoc "$file" --template fellowship.latex --pdf-engine=xelatex -o "${base}.pdf" ;;
"letter") pandoc "$file" --template template-letter.tex -o "${base}.pdf" ;;
*) pandoc "$file" -o "$base".pdf ;;
"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 ;;
esac
}

@ -0,0 +1 @@
colorlinks: true
Loading…
Cancel
Save