* Increase `max_print_line' to prevent TeX from breaking lines at 79
characters, which is stupid. (For instance, it breaks grepping for words when they are broken across multiple lines.) * Print warnings in the condensed log output. svn path=/nixpkgs/trunk/; revision=20625
This commit is contained in:
@@ -2,6 +2,9 @@ source $stdenv/setup
|
|||||||
|
|
||||||
ensureDir $out
|
ensureDir $out
|
||||||
|
|
||||||
|
export TEXMFCNF=$TMPDIR:
|
||||||
|
echo 'max_print_line = 8192' >> $TMPDIR/texmf.cnf
|
||||||
|
|
||||||
mkdir root
|
mkdir root
|
||||||
cd root
|
cd root
|
||||||
|
|
||||||
@@ -125,6 +128,10 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
echo "WARNINGS:"
|
||||||
|
cat $tmpFile | grep "Warning:" | grep -v "Citation.*undefined" || true
|
||||||
|
|
||||||
|
echo
|
||||||
echo "OVERFULL/UNDERFULL:"
|
echo "OVERFULL/UNDERFULL:"
|
||||||
cat $tmpFile | egrep "Overfull|Underfull" || true
|
cat $tmpFile | egrep "Overfull|Underfull" || true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user