Adds some default yaml options
This commit is contained in:
parent
6698c4644d
commit
ad84c2f130
2 changed files with 4 additions and 3 deletions
|
@ -33,9 +33,9 @@ mdtype(){ \
|
||||||
command=${2:-"default"}
|
command=${2:-"default"}
|
||||||
echo "$command"
|
echo "$command"
|
||||||
case "$command" in
|
case "$command" in
|
||||||
"fplreport") pandoc "$file" --template fellowship.latex --pdf-engine=xelatex -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" --template template-letter.tex -o "${base}.pdf" ;;
|
"letter") pandoc "$file" --metadata-file="$HOME/.dotfiles/pandoc/defaults.yaml" --template template-letter.tex -o "${base}.pdf" ;;
|
||||||
*) pandoc "$file" -o "$base".pdf ;;
|
*) pandoc "$file" --metadata-file="$HOME/.dotfiles/pandoc/defaults.yaml" -o "$base".pdf ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
1
pandoc/defaults.yaml
Normal file
1
pandoc/defaults.yaml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
colorlinks: true
|
Loading…
Add table
Add a link
Reference in a new issue