On Sat, Jun 6, 2020 at 2:37 AM Eduardo Ochs <[email protected]> wrote:

> Hello list,
>
> if I run something like this from Lua
>
>   tex.print([[
>   \begin{verbatim}
>   foo
>     poo
>       boo
>   \end{verbatim}
>   ]])
>
> the newlines in the verbatim are converted to spaces... how do I fix
> this?
>

this is more a lualatex question, context is ok .
I suspect you need to use the right catcode table in tex.print .


-- 
luigi

Reply via email to