diff options
author | David Runge <dave@sleepmap.de> | 2017-06-09 02:04:16 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2017-06-09 02:04:16 +0200 |
commit | 06ec165cec63d280a4ff5f3cd53cea660663c910 (patch) | |
tree | ba1fc97667c180060789c8c6d166e365615560be /bin/tex2pdf | |
parent | 967da2bbf1b99f05a1a04f9b6786448187a074be (diff) | |
download | dotfiles-06ec165cec63d280a4ff5f3cd53cea660663c910.tar.gz dotfiles-06ec165cec63d280a4ff5f3cd53cea660663c910.tar.bz2 dotfiles-06ec165cec63d280a4ff5f3cd53cea660663c910.tar.xz dotfiles-06ec165cec63d280a4ff5f3cd53cea660663c910.zip |
bin/tex2pdf: Adding glossary files to list of deleted files.
Diffstat (limited to 'bin/tex2pdf')
-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 |