[NTG-context] print context version

2012-11-26 Thread Thomas A. Schmitz
Hi all, this is a very easy one, but I couldn't find information: for a document under version control, I would like to typeset the git revision and the context version used in a footer. For git, I have come up with \starttext git revision \ctxlua{context(os.resultof(git --no-pager log

Re: [NTG-context] print context version

2012-11-26 Thread Aditya Mahajan
On Mon, 26 Nov 2012, Thomas A. Schmitz wrote: Hi all, this is a very easy one, but I couldn't find information: for a document under version control, I would like to typeset the git revision and the context version used in a footer. For git, I have come up with \starttext git revision

Re: [NTG-context] print context version

2012-11-26 Thread Thomas A. Schmitz
On 11/26/2012 07:39 PM, Aditya Mahajan wrote: \contextversion Aditya Oh gosh, how embarrassing! Thank you Aditya, I should definitely have found that myself...Thomas ___ If your question is of interest to