* Hack to handle PGF/TikZ constructs that require an additional run.
svn path=/nixpkgs/trunk/; revision=24505
This commit is contained in:
parent
8223f8016d
commit
ca4a6cc933
@ -64,9 +64,9 @@ runLaTeX
|
||||
echo
|
||||
|
||||
|
||||
# Run bibtex to process all bibliographies. There may be several when
|
||||
# we're using the multibib package.
|
||||
for auxFile in $(find . -name "*.aux"); do
|
||||
# Run bibtex to process all bibliographies. There may be several
|
||||
# when we're using the multibib package.
|
||||
if grep -q '\\citation' $auxFile; then
|
||||
echo "RUNNING BIBTEX ON $auxFile..."
|
||||
auxBase=$(basename $auxFile .aux)
|
||||
@ -75,6 +75,12 @@ for auxFile in $(find . -name "*.aux"); do
|
||||
runNeeded=1
|
||||
echo
|
||||
fi
|
||||
|
||||
# "\pgfsyspdfmark" in the aux file seems to indicate that PGF/TikZ
|
||||
# requires a second run (e.g. to resolve arrows between pictures).
|
||||
if grep -q pgfsyspdfmark $auxFile; then
|
||||
runNeeded=1
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user