We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 091c60d + bfcab81 commit 100d479Copy full SHA for 100d479
1 file changed
src/makepdf_mac.sh
@@ -0,0 +1,12 @@
1
+#!/bin/bash
2
+
3
+ERROR="Too few arguments : no file name specified"
4
+[[ $# -eq 0 ]] && echo $ERROR && exit # no args? ... print error and exit
5
6
+if [ -f $1.tex ];then
7
+ xelatex $1
8
+ bibtex $1
9
10
11
+ rm *.lof *.lot *.out *.toc *.log *.aux *.bbl *.blg *.bak *.sav *.dvi *.gz
12
+fi
0 commit comments