summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-10-30 17:47:42 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-10-30 17:47:42 -0400
commitb7e6960c260ec4cb6da82ba127a2ab2bf38befa7 (patch)
tree8da23077a7c507fd7d0efbc42ca2588a9ced5e69
parent31505f93f0537988b3386074065dd1c01d46e04b (diff)
downloadeibhear-b7e6960c260ec4cb6da82ba127a2ab2bf38befa7.tar.gz
eibhear-b7e6960c260ec4cb6da82ba127a2ab2bf38befa7.tar.zst
eibhear-b7e6960c260ec4cb6da82ba127a2ab2bf38befa7.zip
more complete groff compiler
-rwxr-xr-x.scripts/compiler2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/compiler b/.scripts/compiler
index 76cdff8..1d74152 100755
--- a/.scripts/compiler
+++ b/.scripts/compiler
@@ -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 ;;