diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-05-31 19:38:30 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-05-31 19:38:30 -0400 |
| commit | ae327871d27157d29dffe25ef4aa0502e54bf4e1 (patch) | |
| tree | ceec18ced6f8996b01a31ffa3622fa2b9984bc0c /.local | |
| parent | 522a4bd2c1f5d37600bf905815f65eec3e327006 (diff) | |
| download | eibhear-ae327871d27157d29dffe25ef4aa0502e54bf4e1.tar.gz eibhear-ae327871d27157d29dffe25ef4aa0502e54bf4e1.tar.zst eibhear-ae327871d27157d29dffe25ef4aa0502e54bf4e1.zip | |
compile manuals
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/compiler | 1 |
1 files changed, 1 insertions, 0 deletions
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 ;; |
