diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-08-16 21:53:46 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2005-08-16 21:53:46 +0000 |
commit | 8c1905ce5be6b39d794ab588f6de73c23971354b (patch) | |
tree | 8a62b58b2c63c2687fefc3a95c7695720a5477c8 /pkgs/misc/tex | |
parent | b40cfcf0f5cc06f613f903c0835677778d846a72 (diff) | |
download | nixlib-8c1905ce5be6b39d794ab588f6de73c23971354b.tar nixlib-8c1905ce5be6b39d794ab588f6de73c23971354b.tar.gz nixlib-8c1905ce5be6b39d794ab588f6de73c23971354b.tar.bz2 nixlib-8c1905ce5be6b39d794ab588f6de73c23971354b.tar.lz nixlib-8c1905ce5be6b39d794ab588f6de73c23971354b.tar.xz nixlib-8c1905ce5be6b39d794ab588f6de73c23971354b.tar.zst nixlib-8c1905ce5be6b39d794ab588f6de73c23971354b.zip |
* Print the page count.
svn path=/nixpkgs/trunk/; revision=3592
Diffstat (limited to 'pkgs/misc/tex')
-rw-r--r-- | pkgs/misc/tex/nix/run-latex.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/misc/tex/nix/run-latex.sh b/pkgs/misc/tex/nix/run-latex.sh index aa95b432fc1d..103d0771f389 100644 --- a/pkgs/misc/tex/nix/run-latex.sh +++ b/pkgs/misc/tex/nix/run-latex.sh @@ -83,4 +83,6 @@ echo "STATS:" printf "%5d overfull/underfull h/vboxes\n" $(cat $tmpFile | egrep -c "Overfull|Underfull" || true) printf "%5d undefined references\n" $(cat $tmpFile | grep -c "Reference.*undefined" || true) printf "%5d undefined citations\n" $(cat $tmpFile | grep -c "Citation.*undefined" || true) +printf "%5d pages\n" \ + $(cat $tmpFile | grep "Output written.*(.*pages" | sed "s/.*(\([0-9]*\) pages.*/\1/" || true) echo |