aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/tex2pdf11
1 files changed, 7 insertions, 4 deletions
diff --git a/bin/tex2pdf b/bin/tex2pdf
index 071e143..7a8dcf1 100755
--- a/bin/tex2pdf
+++ b/bin/tex2pdf
@@ -54,14 +54,17 @@ function create_pdf()
set +e
pdflatex \
-interaction=nonstopmode \
+ -shell-escape \
${filename}${input_suffix} > /dev/null
bibtex ${filename}.aux
makeglossaries ${filename}
pdflatex \
-interaction=nonstopmode \
+ -shell-escape \
${filename}${input_suffix} > /dev/null
pdflatex \
-interaction=nonstopmode \
+ -shell-escape \
${filename}${input_suffix}
set -e
cd ${initial_pwd}
@@ -88,10 +91,10 @@ function show_pdf()
function cleanup()
{
- rm -f ${dirname}/*.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lot,nav,out,run.xml,snm,toc,vrb,xdy} \
- ${dirname}/*/*.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lot,nav,out,run.xml,snm,toc,vrb,xdy} \
- *.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lot,nav,out,run.xml,snm,toc,vrb,xdy} \
- */*.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lot,nav,out,run.xml,snm,toc,vrb,xdy}
+ rm -f ${dirname}/*.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lol,lot,nav,out,run.xml,snm,toc,upa,upb,vrb,xdy} \
+ ${dirname}/*/*.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lol,lot,nav,out,run.xml,snm,toc,upa,upb,vrb,xdy} \
+ *.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lol,lot,nav,out,run.xml,snm,toc,upa,upb,vrb,xdy} \
+ */*.{acn,acr,alg,aux,bbl,bcf,blg,dvi,glg,glo,gls,glsdefs,idx,ist,lof,log,lot,nav,out,run.xml,snm,toc,upa,upb,vrb,xdy}
}
probe_extension $1