18 Jan
2023
18 Jan
'23
10:21 a.m.
On 1/18/23 00:36, Bruce Horrocks via ntg-context wrote:
ConTeXt ver: 2023.01.04
The following MWE won't compile because of the \dummycommand line even though it is a comment. Not sure whether it's a minor bug or an unavoidable aspect of allowing embedded Lua.
Hi Bruce, I think your code should read: \startluacode -- \\dummycommand \stopluacode \starttext Hello \stoptext BTW, in pure Lua: a = "\a" b = "\\b" print(a..b) outputs "\b". Sorry, I lack the knowledge to explain this, but backslash seems to be an special char in pure Lua too. Just in case it might help, Pablo