SVN post commit hook: record number of pages in LaTeX document? -
I want to record how the number of pages in my latex document increases over time.
I store the foo.tex
file in my SVN repository, so I am thinking that I use a post-commit
script for it I can do that, which automatically runs latex (whenever a change is made to foo.tex
), extract the number of pages and writes it into the log file
Is this the right approach? How to apply any tips / suggestions best? For example, how can I set it so that the script can be called only when the change has been made to foo.tex
?
repo hook \ grep.exe ("% svnlook%" changed -t% 2% 1 | "% grep%" "^ U. * / Foo.tex ") & amp; Amp; (Open out to modify)
I'm not sure which command you'll actually use to modify ... I'm still researching ... < / P>
I think that during the transaction, the message is read only if you need to update, you may have to execute late
svn Propset --revprop -r ## svn: log "message"
.
Comments
Post a Comment