<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 6, 2020 at 2:37 AM Eduardo Ochs <<a href="mailto:eduardoochs@gmail.com">eduardoochs@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello list,<br>
<br>
if I run something like this from Lua<br>
<br>
  tex.print([[<br>
  \begin{verbatim}<br>
  foo<br>
    poo<br>
      boo<br>
  \end{verbatim}<br>
  ]])<br>
<br>
the newlines in the verbatim are converted to spaces... how do I fix<br>
this?<br></blockquote><div><br></div><div>this is more a lualatex question, context is ok .</div><div>I suspect you need to use the right catcode table in tex.print .</div><div><br></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>