more complete groff compiler

This commit is contained in:
Luke Smith 2018-10-30 17:47:42 -04:00
parent 31505f93f0
commit b7e6960c26

View file

@ -40,7 +40,7 @@ shebangtest() {
[ -f "$REFBIB" ] && groffbib="-p $REFBIB"
case "$file" in
*\.ms) refer $groffbib "$file" | groff -ms -T pdf > "$base".pdf ;;
*\.ms) refer -PS -e $groffbib "$file" | groff -kejpt -ms -T pdf > "$base".pdf ;;
*\.rmd) echo "require(rmarkdown); render('$file')" | R --vanilla && mv "$base".pdf "$dir"/pdfs;;
*\.tex) textype "$file" ;;
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;