![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 1-6-2011 10:14, Hans Hagen wrote:
[[ ]] vs " " is a lua thing ... but when you pass things from within tex, expansions happens the same in both; you can try
context("\detokenize{...}")
Sorry, that should have been \ctxlua{"\detokenize{...}"} which takes care of things at the tex end. When at the lua end, you need to use \\ (or indeed [[with regular \'s]]. Anyhow, it does not hurt to always to take good look at \'s because commands might end up in cycles (or for instance can end up in auxiliary files). This is why many commands are defined using \unexpanded. Even if you pass something using context at the lua end. You can see what gets passed to tex using: \enabletrackers[context.trace] What you see there should look like regular context. (btw, context.setvalue{"Lang","English") also works well and has no backslashes) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------