Created
May 16, 2011 13:11
-
-
Save xqms/974414 to your computer and use it in GitHub Desktop.
PdfLatex, Bibtex and Chapterbib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -name '*.aux' -print0 | xargs -0 rm | |
pdflatex report | |
dirs="dir1 dir2 dir3" | |
for dir in $dirs; do | |
for f in $dir/*.aux; do | |
bibtex $f | |
done | |
done | |
pdflatex report | |
pdflatex report | |
echo 'Done' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment