dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ae327871d27157d29dffe25ef4aa0502e54bf4e1
parent 522a4bd2c1f5d37600bf905815f65eec3e327006
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri, 31 May 2019 19:38:30 -0400

compile manuals

Diffstat:
M.local/bin/compiler | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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 ;;