I would like to record how the number of pages of my LaTeX document grows over time.
I store the foo.tex
file in my SVN repository, so I'm thinking I can use a post-commit
script for that, which runs LaTeX automatically (whenever changes to foo.tex
are committed), extracts the number of pages and writes it into the log file.
Is that the right approach? Any tips / suggestions on how to best implement it? For example, how do I set it up so that the script is only called when changes to foo.tex
are committed?