From ae327871d27157d29dffe25ef4aa0502e54bf4e1 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 31 May 2019 19:38:30 -0400 Subject: [PATCH] compile manuals --- .local/bin/compiler | 1 + 1 file changed, 1 insertion(+) diff --git a/.local/bin/compiler b/.local/bin/compiler index 7d3bf1d..d44bb9a 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -25,6 +25,7 @@ textype() { \ case "$file" in *\.ms) refer -PS -e "$file" | groff -me -ms -kejpt -T pdf > "$base".pdf ;; *\.mom) refer -PS -e "$file" | groff -mom -kejpt -T pdf > "$base".pdf ;; + *\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;; *\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;; *\.tex) textype "$file" ;; *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;