dotfiles

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

commit 99a7d1dd9849cf3d0da74e88978f777299196140
parent 2db8755f04e6eb33e56a62d8bc26cc7a69c559a5
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 25 May 2020 11:49:46 -0400

Merge branch 'master' of github.com:LukeSmithxyz/voidrice

Diffstat:
M.local/bin/compiler | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.local/bin/compiler b/.local/bin/compiler @@ -20,17 +20,17 @@ textype() { \ biber --input-directory "$dir" "$base" && $command --output-directory="$dir" "$base" && $command --output-directory="$dir" "$base" - } +} case "$file" in - *\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;; - *\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;; - *\.[0-9]) refer -PS -e "$file" | groff -mandoc -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)" ;; *\.tex) textype "$file" ;; *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; *config.h) sudo make install ;; - *\.c) cc "$file" -o "$base" && "$base" ;; + *\.c) cc "$file" -o "$base" && "$base" ;; *\.py) python "$file" ;; *\.m) octave "$file" ;; *\.scad) openscad -o "$base".stl "$file" ;;