CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/counttexruns

LaTeX package 'counttexruns'
Copyright (C) 2012 by Robin Schneider <ypid23@aol.de>

This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
The latest version of this license is in
and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.

CTAN: http://www.ctan.org/pkg/counttexruns
Code repository: https://github.com/ypid/latex-packages/counttexruns

The counttexruns package counts how often a LaTeX document is compiled.

From a statistical perspective you maybe want to know how often you compiled a
document. This is exactly the task I wrote this package for. For a few years I
used a bash script and -shell-escape to do this but I decided to write this
small package to do the trick a little nicer.

To print the count you can use the macro \thecounttexruns.

You can generate the counttexruns.sty file with: pdflatex counttexruns.ins

The documentation can be generated with:
pdflatex counttexruns.dtx
makeindex -s gglo.ist -o counttexruns.gls counttexruns.glo
makeindex -s gind counttexruns
pdflatex counttexruns.dtx
thumbpdf counttexruns
pdflatex counttexruns.dtx

Download the contents of this package in one zip archive (228.2k).

counttexruns – Count compilations of a document

The package counts how often a document is compiled, keeping the data in an external file. To print the count, can use the macro \thecounttexruns.

LicensesThe Project Public License 1.3
Copyright2012 Robin Schneider
MaintainerRobin Schneider
Contained inTeX Live as counttexruns
MiKTeX as counttexruns
Guest Book Sitemap Contact Contact Author