diff options
-rwxr-xr-x | bin/tex2pdf | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/tex2pdf b/bin/tex2pdf index 64287ae..071e143 100755 --- a/bin/tex2pdf +++ b/bin/tex2pdf @@ -56,6 +56,7 @@ function create_pdf() -interaction=nonstopmode \ ${filename}${input_suffix} > /dev/null bibtex ${filename}.aux + makeglossaries ${filename} pdflatex \ -interaction=nonstopmode \ ${filename}${input_suffix} > /dev/null @@ -87,10 +88,10 @@ function show_pdf() function cleanup() { - rm -f ${dirname}/*.{aux,bbl,bcf,blg,dvi,idx,lof,log,lot,nav,out,run.xml,snm,toc,vrb} \ - ${dirname}/*/*.{aux,bbl,bcf,blg,dvi,idx,lof,log,lot,nav,out,run.xml,snm,toc,vrb} \ - *.{aux,bbl,bcf,blg,dvi,idx,lof,log,lot,nav,out,run.xml,snm,toc,vrb} \ - */*.{aux,bbl,bcf,blg,dvi,idx,lof,log,lot,nav,out,run.xml,snm,toc,vrb} + 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} } probe_extension $1 |