diff options
| author | M.Zeinali <m@zmim.ir> | 2021-01-06 17:42:34 +0330 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-06 09:12:34 -0500 |
| commit | 7898b357ba2788adf3e0bd7b97f740c12f16eceb (patch) | |
| tree | dadae43ede4a1a6f450b2d5b4fa21b3aa354dfbc /.local | |
| parent | 60ed035ffd1ac2bf4aece742e62d67c3c5d675fc (diff) | |
| download | eibhear-7898b357ba2788adf3e0bd7b97f740c12f16eceb.tar.gz eibhear-7898b357ba2788adf3e0bd7b97f740c12f16eceb.tar.zst eibhear-7898b357ba2788adf3e0bd7b97f740c12f16eceb.zip | |
md to pdf using ms engine instead of latex (#877)
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/compiler | 2 |
1 files changed, 1 insertions, 1 deletions
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 ;; |
