compiler fix
This commit is contained in:
parent
f6ea9cb253
commit
afe1702286
1 changed files with 2 additions and 5 deletions
|
@ -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 ;;
|
||||||
|
|
Loading…
Reference in a new issue