Re: [NTG-context] Module for svn info

2008-01-23 Thread Peter Münster
On Wed, Jan 23 2008, Robin Kirkham wrote: > > What do you think of using: > > \def\SVNVERSION{svnversion -n > svnversion.tex} Hello Robin, The "-n" option does not change anything, see also http://archive.contextgarden.net/thread/20060228.155539.6a630df2.en.html and http://wiki.contextg

Re: [NTG-context] Module for svn info

2008-01-23 Thread Aditya Mahajan
On Tue, 22 Jan 2008, Markus Bernhardt wrote: > \def\SVNVERSION{svnversion -n > svnversion.tex} > > \ifeof18 >\installprogram{\SVNVERSION}% > \else >\executesystemcommand{\SVNVERSION}% > \fi Looks ok to me. Coming back to calculating the maximum of versions, this is possible to do inside

Re: [NTG-context] Module for svn info

2008-01-23 Thread Robin Kirkham
Hi Ernesto, hi Robin, thanks for your replies. The thing I like most with your solution is that svnversion provides a modify flag, so I can see whether all changes have been cheched in. Great. A little drawback is that all files under the current path are used to determine the version. If th

Re: [NTG-context] Module for svn info

2008-01-22 Thread Markus Bernhardt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ernesto, hi Robin, thanks for your replies. The thing I like most with your solution is that svnversion provides a modify flag, so I can see whether all changes have been cheched in. Great. A little drawback is that all files under the current pa

Re: [NTG-context] Module for svn info

2008-01-21 Thread Ernesto Schirmacher
> If your sources are in svn, then they actually have the same svn- > number, after a commit. But the numbers in the $Revision$ or $Id$ tags > of your working copies are not updated by svn commit. However, if you > do an "svn update" after the commit, it should update the numbers. So, > yo

Re: [NTG-context] Module for svn info

2008-01-21 Thread Robin Kirkham
Hi Markus, If your sources are in svn, then they actually have the same svn- number, after a commit. But the numbers in the $Revision$ or $Id$ tags of your working copies are not updated by svn commit. However, if you do an "svn update" after the commit, it should update the numbers. So, yo

Re: [NTG-context] Module for svn info

2008-01-21 Thread Markus Bernhardt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Aditya, thanks for your reply. It's a good starting point. One thing is missing in this solution. Our documents are structured into several files. Every file has an svn-version. So I want to calculate the max version. Do you know a small example

Re: [NTG-context] Module for svn info

2008-01-19 Thread Aditya Mahajan
On Sun, 20 Jan 2008, Markus Bernhardt wrote: > is there a module to access subversion tags in context documents (like > svninfo or svnkw for latex). There is no package, but it is not difficult to create one. For example see, http://archive.contextgarden.net/message/20070920.231549.347dc370.en.

[NTG-context] Module for svn info

2008-01-19 Thread Markus Bernhardt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, is there a module to access subversion tags in context documents (like svninfo or svnkw for latex). Kind regards, Markus - -- Mit freundlichen Grüßen Markus Bernhardt Software Consulting Markus Bernhardt GmbH Spieljochstr. 34 81825 München