diff options
author | Dr. Clea F. Rees <cfrees@imapmail.org> | 2008-12-10 20:50:19 +0000 |
---|---|---|
committer | Dr. Clea F. Rees <cfrees@imapmail.org> | 2008-12-10 20:50:19 +0000 |
commit | 2e59afec9907d090fa6cb3d54066333df8826741 (patch) | |
tree | 65a9eda4eb7208bd2ddd1a3bc1f5f9db3da55077 /Master/texmf-dist/doc/latex/multibib/bibtexall | |
parent | a5debc181fdd5c81cbc800cf5d469b204c51e042 (diff) |
multibib update 2008/12/10
git-svn-id: svn://tug.org/texlive/trunk@11585 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/multibib/bibtexall')
-rwxr-xr-x | Master/texmf-dist/doc/latex/multibib/bibtexall | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/multibib/bibtexall b/Master/texmf-dist/doc/latex/multibib/bibtexall index 6a0e58ec474..3b2849486aa 100755 --- a/Master/texmf-dist/doc/latex/multibib/bibtexall +++ b/Master/texmf-dist/doc/latex/multibib/bibtexall @@ -2,8 +2,20 @@ # # Evoke bibtex for each .aux file in the present directory. # -# Thorsten Hansen, 2003-03-24 - +# Usage: +# Change to the directory where you want to bibtex all .aux files which +# have a citation command and type +# +# bibtexall +# +# Thorsten Hansen, 2003-03-24 (first entry) +# 2005-10-26 do not evoke bibtex on .aux files w/o \citation's +# 2008-11-06 no message for files w/o citations for file in *.aux ; do - bibtex `basename $file .aux` + if grep -c -q '\\citation' $file; then + echo "process $file" + bibtex `basename $file .aux` +# else +# echo "ignore file $file which has no \citation command" + fi done |