Hi all, I have been using version control (SVN) to write documents in LaTeX and use SVN keywords combined with a LaTeX package (svninfo http://www.ctan.org/tex-archive/macros/latex/contrib/svninfo/) which shows the information, revision number and date etc, in the generated PDF files.
I am eager to make the shift to darcs but havn't yet found a satisfactory way to make revision numbers appear in PDFs. I have experimented with the patch number from "darcs show repo" to make prehook and posthook scripts but these either produce the number before the current record, or leave the file modified after a record. I have read the pages http://wiki.darcs.net/DifferencesFromSubversionCVS http://wiki.darcs.net/Ideas/CVSKeywords and http://progetti.arstecnica.it/trac+darcs/wiki/DarcsBackend However, in practice when there are a dozen different print outs of a papers with comments scrawled over them it becomes essential to have piece of information like patch (revision) number. While I could maintain a manual "number of records" by incrementing a counter in the files, it would be nice to have this number linked to something i could check out. Is there any way I can get simulate this using darcs? Would it be easy to implement a penultimate-hook where the final patch in a record would update all the file's keywords? Thanks, Niall Murphy _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
