compiler fix

This commit is contained in:
Luke Smith 2018-11-03 20:59:02 -04:00
parent f6ea9cb253
commit afe1702286

View file

@ -36,12 +36,9 @@ shebangtest() {
esac esac
} }
# If there is a global $REFBIB variable/file for `refer`, use it.
[ -f "$REFBIB" ] && groffbib="-p $REFBIB"
case "$file" in case "$file" in
*\.ms) refer -PS -e $groffbib "$file" | groff -kejpt -ms -T pdf > "$base".pdf ;; *\.ms) refer -PS -e "$file" | groff -me -ms -kejpt -T pdf > "$base".pdf ;;
*\.rmd) echo "require(rmarkdown); render('$file')" | R --vanilla && mv "$base".pdf "$dir"/pdfs;; *\.rmd) echo "require(rmarkdown); render('$file')" | R --vanilla ;;
*\.tex) textype "$file" ;; *\.tex) textype "$file" ;;
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
*config.h) make && sudo make install ;; *config.h) make && sudo make install ;;