diff options
| author | simohamed <contact.simohamed@gmail.com> | 2020-04-21 21:53:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-21 17:53:57 -0400 |
| commit | 2c02c85aae3f0ade67d26d7e87c0c57c10b591cd (patch) | |
| tree | 5b9fee8b0db1e43d4ab6df06523cd79d18696d37 /.local | |
| parent | 1669b3c2b95dc7143f84470ca8dd5bb35283821a (diff) | |
| download | eibhear-2c02c85aae3f0ade67d26d7e87c0c57c10b591cd.tar.gz eibhear-2c02c85aae3f0ade67d26d7e87c0c57c10b591cd.tar.zst eibhear-2c02c85aae3f0ade67d26d7e87c0c57c10b591cd.zip | |
remove unneeded require (#587)
`library::` is all you need to load a library before using one of its functions.
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/compiler | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/compiler b/.local/bin/compiler index fd812b5..0f693d2 100755 --- a/.local/bin/compiler +++ b/.local/bin/compiler @@ -26,7 +26,7 @@ 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 ;; - *\.[rR]md) Rscript -e "require(rmarkdown); rmarkdown::render('$file', quiet=TRUE)" ;; + *\.[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 ;; |
