summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/misc/tex/nix/run-latex.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/misc/tex/nix/run-latex.sh b/pkgs/misc/tex/nix/run-latex.sh
index ecce893950b..1db41f3c336 100644
--- a/pkgs/misc/tex/nix/run-latex.sh
+++ b/pkgs/misc/tex/nix/run-latex.sh
@@ -2,6 +2,9 @@ source $stdenv/setup
 
 ensureDir $out
 
+export TEXMFCNF=$TMPDIR:
+echo 'max_print_line = 8192' >> $TMPDIR/texmf.cnf
+
 mkdir root
 cd root
 
@@ -125,6 +128,10 @@ else
 fi
 
 
+echo "WARNINGS:"
+cat $tmpFile | grep "Warning:" | grep -v "Citation.*undefined" || true
+
+echo
 echo "OVERFULL/UNDERFULL:"
 cat $tmpFile | egrep "Overfull|Underfull" || true