1 Aug
2010
1 Aug
'10
8:19 p.m.
to solve my problem I need to find why my function ParseCSVdata incorrectly parses strings stored in a macro.
You can work around the problem by defining a Lua function that calls the macro: \def\parse#1{\directlua{pars("#1")}} You can then either call it directly: \parse{\printaction} or from Lua with tex.print: \startluacode tex.print("\\parse{\\printaction}") \stopluacode and the macros are expanded in the order you want. It's admittedly a bit silly, but it works. As a side note, the infinitive of the verb related to “parser” is “to parse” in English, with an ‘e’ at the end. Arthur