summaryrefslogtreecommitdiff
path: root/scripts/rmd2pdf
diff options
context:
space:
mode:
authorChris Sobczak <chris@sobczak.family>2026-05-08 16:45:46 -0700
committerChris Sobczak <chris@sobczak.family>2026-05-08 16:45:46 -0700
commit5b909092c14b56eb50f86a5411e852b3b01c8069 (patch)
treedde4503b03e81cce67a4b9cdb45307ebd6a50a01 /scripts/rmd2pdf
parentb1bbb1984a66ddfce7ee3b53949de928e4f6bb37 (diff)
Safely clean mess of files when rendering
Diffstat (limited to 'scripts/rmd2pdf')
-rwxr-xr-xscripts/rmd2pdf2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rmd2pdf b/scripts/rmd2pdf
index 3c7a287..3a86b21 100755
--- a/scripts/rmd2pdf
+++ b/scripts/rmd2pdf
@@ -1,2 +1,4 @@
#!/bin/sh
Rscript -e "rmarkdown::render('$1')"
+mkdir -p render-files
+mv *{.acn,.acr,.alg,.glg,.glo,.gls,.glsdefs,.ist} render-files/ 2>/dev/null