From be901049f071ebc22abe8c333c4376c7e8f25197 Mon Sep 17 00:00:00 2001 From: Dennis Lee Date: Sat, 23 May 2020 15:23:23 -0700 Subject: [PATCH] compiler: fix formatting --- .local/bin/compiler | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/compiler b/.local/bin/compiler index 54b8dc3e..51d14f5e 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -20,10 +20,10 @@ textype() { \ biber --input-directory "$dir" "$base" && $command --output-directory="$dir" "$base" && $command --output-directory="$dir" "$base" - } +} case "$file" in - *\.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 ;; *\.mom) preconv "$file" | refer -PS -e | groff -mom -kept -T pdf > "$base".pdf ;; *\.[0-9]) preconv "$file" | refer -PS -e | groff -mandoc -T pdf > "$base".pdf ;; *\.[rR]md) Rscript -e "rmarkdown::render('$file', quiet=TRUE)" ;;