forked from mirrors/nixpkgs
* 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:
parent
295d249274
commit
eb083a3999
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue