summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathias Schreck <mathias.schreck@joyn.de>2020-01-30 20:05:20 +0100
committerGitHub <noreply@github.com>2020-01-30 14:05:20 -0500
commit9508d07ac3c21c4ddf3ea5931935cb3edb4c508d (patch)
tree2a7014b6841363ed87a9fbb4516d1beb64b3ff9f
parente9d171e9c5d29920540995f6b4e7d6016aee8f79 (diff)
downloadnixpkgs-9508d07ac3c21c4ddf3ea5931935cb3edb4c508d.tar
nixpkgs-9508d07ac3c21c4ddf3ea5931935cb3edb4c508d.tar.gz
nixpkgs-9508d07ac3c21c4ddf3ea5931935cb3edb4c508d.tar.bz2
nixpkgs-9508d07ac3c21c4ddf3ea5931935cb3edb4c508d.tar.lz
nixpkgs-9508d07ac3c21c4ddf3ea5931935cb3edb4c508d.tar.xz
nixpkgs-9508d07ac3c21c4ddf3ea5931935cb3edb4c508d.tar.zst
nixpkgs-9508d07ac3c21c4ddf3ea5931935cb3edb4c508d.zip
runLaTeX: add additional rerun criterion (#78318)
Seems like the phrase "Please rerun LaTeX." is outputted by `biblatex`.
When we detect this, we should actual rerun latex.
-rw-r--r--pkgs/tools/typesetting/tex/nix/run-latex.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/nix/run-latex.sh b/pkgs/tools/typesetting/tex/nix/run-latex.sh
index 3941fdcac4a..7a5767f9c06 100644
--- a/pkgs/tools/typesetting/tex/nix/run-latex.sh
+++ b/pkgs/tools/typesetting/tex/nix/run-latex.sh
@@ -47,6 +47,7 @@ runLaTeX() {
     if fgrep -q \
         -e "LaTeX Warning: Label(s) may have changed." \
         -e "Rerun to get citations correct." \
+        -e "Please rerun LaTeX." \
         "$tmpFile"; then
         runNeeded=1
     fi