From 7898b357ba2788adf3e0bd7b97f740c12f16eceb Mon Sep 17 00:00:00 2001 From: "M.Zeinali" Date: Wed, 6 Jan 2021 17:42:34 +0330 Subject: [PATCH] md to pdf using ms engine instead of latex (#877) --- .local/bin/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/compiler b/.local/bin/compiler index a087eff..39e149e 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -41,7 +41,7 @@ case "$ext" in elif [ -x "$(command -v groffdown)" ]; then groffdown -i "$file" | groff > "$base.pdf" else - pandoc "$file" --pdf-engine=xelatex -o "$base".pdf + pandoc -t ms --highlight-style=kate -s -o "$base".pdf "$file" fi ; ;; mom) preconv "$file" | refer -PS -e | groff -mom -kept -T pdf > "$base".pdf ;; ms) preconv "$file" | refer -PS -e | groff -me -ms -kept -T pdf > "$base".pdf ;;