diff options
author | Marvin Borner | 2020-06-23 18:50:49 +0200 |
---|---|---|
committer | Marvin Borner | 2020-06-23 18:50:49 +0200 |
commit | b14a9bbea5b17be346453e5fd4fad585897ea0e2 (patch) | |
tree | d59710a4ae25145627e9a3b24e5d693407c62d82 /.scripts/compile | |
parent | 2fe146fac3247c21a20e6bfa9c5b93642130102f (diff) |
Improved markdown compilation
Diffstat (limited to '.scripts/compile')
-rwxr-xr-x | .scripts/compile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.scripts/compile b/.scripts/compile index fec470c..ce60741 100755 --- a/.scripts/compile +++ b/.scripts/compile @@ -9,7 +9,8 @@ case "$ext" in ms) preconv "$file" | refer -PS -e | groff -me -ms -kept -T pdf >"$base".pdf ;; [0-9]) preconv "$file" | refer -PS -e | groff -mandoc -T pdf >"$base".pdf ;; #md) lowdown -d nointem -e super "$file" -Tms | groff -t -mspdf -k -Kutf8 -T pdf >"$base".pdf ;; -md) pandoc "$file" --pdf-engine=xelatex -V geometry:a4paper -V geometry:margin=2cm -V toc-title='Table of contents' -o "$base.pdf" ;; +#md) pandoc "$file" --pdf-engine=xelatex -V geometry:a4paper -V geometry:margin=2cm -V toc-title='Table of contents' -o "$base.pdf" ;; # Xelatex is slow af +md) pandoc "$file" -V geometry:a4paper -V geometry:margin=2cm -V toc-title='Table of contents' -o "$base.pdf" ;; [rR]md) Rscript -e "rmarkdown::render('$file', quiet=TRUE)" ;; tex) pdflatex --output-directory "$dir" "$base" ;; sent) setsid -f sent "$file" 2>/dev/null ;; |