From 06ec165cec63d280a4ff5f3cd53cea660663c910 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 9 Jun 2017 02:04:16 +0200 Subject: bin/tex2pdf: Adding glossary files to list of deleted files. --- bin/tex2pdf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2