summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmklatexreport6
-rwxr-xr-xnew-report4
2 files changed, 8 insertions, 2 deletions
diff --git a/mklatexreport b/mklatexreport
index 4c943a2..4116244 100755
--- a/mklatexreport
+++ b/mklatexreport
@@ -1,5 +1,7 @@
#!/bin/bash
set -e
-latexmk -shell-escape "$1" </dev/null
-mv "out/$1.pdf" .
+filename=${1:-report}
+
+latexmk -shell-escape "$filename" </dev/null
+mv "out/$filename.pdf" .
diff --git a/new-report b/new-report
new file mode 100755
index 0000000..d8cea7f
--- /dev/null
+++ b/new-report
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp -n ~/docs/report-template.tex ./report.tex
+