svn path=/nixpkgs/trunk/; revision=10964
This commit is contained in:
parent
c65fa45df9
commit
f212e0380e
@ -37,7 +37,10 @@ showError() {
|
|||||||
runLaTeX() {
|
runLaTeX() {
|
||||||
if ! $latex $latexFlags $rootName >$tmpFile 2>&1; then showError; fi
|
if ! $latex $latexFlags $rootName >$tmpFile 2>&1; then showError; fi
|
||||||
runNeeded=
|
runNeeded=
|
||||||
if grep -q "LaTeX Warning: Label(s) may have changed." "$tmpFile"; then
|
if fgrep -q \
|
||||||
|
-e "LaTeX Warning: Label(s) may have changed." \
|
||||||
|
-e "Rerun to get citations correct." \
|
||||||
|
"$tmpFile"; then
|
||||||
runNeeded=1
|
runNeeded=1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user