md to pdf using ms engine instead of latex (#877)
This commit is contained in:
parent
60ed035ffd
commit
7898b357ba
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ case "$ext" in
|
||||||
elif [ -x "$(command -v groffdown)" ]; then
|
elif [ -x "$(command -v groffdown)" ]; then
|
||||||
groffdown -i "$file" | groff > "$base.pdf"
|
groffdown -i "$file" | groff > "$base.pdf"
|
||||||
else
|
else
|
||||||
pandoc "$file" --pdf-engine=xelatex -o "$base".pdf
|
pandoc -t ms --highlight-style=kate -s -o "$base".pdf "$file"
|
||||||
fi ; ;;
|
fi ; ;;
|
||||||
mom) preconv "$file" | refer -PS -e | groff -mom -kept -T pdf > "$base".pdf ;;
|
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 ;;
|
ms) preconv "$file" | refer -PS -e | groff -me -ms -kept -T pdf > "$base".pdf ;;
|
||||||
|
|
Loading…
Reference in a new issue