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

Kip Warner kip at thevertigo.com
Fri Apr 19 09:15:56 CEST 2013


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 encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20130419/db96b55b/attachment-0001.pgp>


More information about the ntg-context mailing list