3
votes
2answers
230 views

How to stop a block of code from being parsed?

I would like to pass some latex code to lua directly without it being parsed: \directlua{ PrintPrettyLatexCode("LATEX CODE GOES HERE!") } BUT latex tries to parse the "LATEX CODE GOES HERE!". I ...
12
votes
2answers
798 views

Parsing files through LuaTeX

This question has two parts: How would one generally parse a file with LuaTeX, assuming the file only holds data that is delimited either by spaces, commas or semicolons. How would you parse the ...