aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/doccompiler
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-06-08 16:18:00 +0300
committerYaroslav <contact@yaroslavps.com>2020-06-08 16:18:00 +0300
commit6f705db1505a20c3bd5b56c11d318f5e4c6fbda7 (patch)
tree0c8804c4f1f553435d74d4410acd1cff83a7f69c /dotfiles/.local/bin/doccompiler
parente94969abe4e3c9fb4513b7c55574bc32f5a463d3 (diff)
downloadswayrice-6f705db1505a20c3bd5b56c11d318f5e4c6fbda7.tar.gz
swayrice-6f705db1505a20c3bd5b56c11d318f5e4c6fbda7.zip
compile pandoc with pdflatex instead of xelatex
Diffstat (limited to 'dotfiles/.local/bin/doccompiler')
-rwxr-xr-xdotfiles/.local/bin/doccompiler2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/doccompiler b/dotfiles/.local/bin/doccompiler
index 03eb21e..9e24845 100755
--- a/dotfiles/.local/bin/doccompiler
+++ b/dotfiles/.local/bin/doccompiler
@@ -26,7 +26,7 @@ case "$file" in
*\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;;
*\.rmd) echo "require(rmarkdown); rmarkdown::render('$file', quiet=TRUE)" | R -q --vanilla ;;
*\.tex) textype "$file" ;;
- *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
+ *\.md) pandoc "$file" -o "$base".pdf ;;
*\.sent) setsid sent "$file" 2>/dev/null & ;;
*) echo "Couldn't figure out file type!" && exit 1 ;;
esac