Re: [NTG-context] ! LuaTeX error [string "\directlua "]:1: invalid escape sequence

2013-04-19 Thread Kip Warner
On Fri, 2013-04-19 at 09:07 +0200, Hans Hagen wrote: > use [[ ]] for passing strings and \letterpercent , of do: > > \ctxlua{context.setxvalue("BzrRevision",os.resultof("bzr revno | tr > -d > '\string\n'"))} Thanks Hans. That solved that problem. -- Kip Warner -- Software Engineer OpenPGP enc

Re: [NTG-context] ! LuaTeX error [string "\directlua "]:1: invalid escape sequence

2013-04-19 Thread Hans Hagen
On 4/19/2013 7:39 AM, Kip Warner wrote: Hey list, I am having problems typesetting the following minimal to try and extract the current revision number from my revision control system: % Bzr revision... \def\initializeBzr {\ctxlua{context("\\global\\edef\\BzrR