From 6f705db1505a20c3bd5b56c11d318f5e4c6fbda7 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Mon, 8 Jun 2020 16:18:00 +0300 Subject: compile pandoc with pdflatex instead of xelatex --- dotfiles/.local/bin/doccompiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.local') 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 -- cgit v1.2.3