From 5e38ff7090f8effd046dbd5f94dcc3a43a15423b Mon Sep 17 00:00:00 2001 From: "M.Zeinali" Date: Wed, 6 Jan 2021 14:27:09 +0330 Subject: [PATCH] md to pdf using ms engine instead of latex --- .local/bin/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/compiler b/.local/bin/compiler index a087effe..39e149ed 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 ;;