blob: 8f6745463b3f178f12b6274d1f4b667e3c637589 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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
http://www.latex-project.org/lppl.txt
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
DESCRIPTION
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.
GENERATING THE FILES
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
|