<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 24, 2020 at 10:08 PM Phelype Oleinik <<a href="mailto:phe.h.o1@gmail.com">phe.h.o1@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"><div dir="ltr"><div dir="ltr">Hi Luigi,</div><div dir="ltr"><br></div><div>Thanks for fixing those issues with \input!</div><div dir="ltr"><br></div><div>I think I found another one, related to this:</div><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Runaway text?<br>
! Forbidden control sequence found while scanning text of \csname\endcsname.<br>
<inserted text><br>
}<br>
<to be read again><br>
\boom<br>
l.3 \input{\boom<br>
<br>
?</blockquote></div></div></blockquote><div><br></div><div>but with \unexpanded:</div><div><br> \directlua{\unexpanded{%<br> out = io.open('testfile.tex','w')<br> out:write('hello')<br> io.close(out)}}<br> \edef\x{\unexpanded\expandafter{\input{testfile.tex}}}<br></div><div><br></div><div>also prints:</div><div><br> Runaway text?<br> hello <br> ! File ended while scanning text of \csname\endcsname.<br> <inserted text> <br> }<br> l.6 ...{\unexpanded\expandafter{\input{testfile.tex}<br> }}<br> ?<br></div><div><br></div><div>with \csname\endcsname rather than \unexpanded.</div><div><br></div></div></div></blockquote><div><br></div><div>Thank you for the report , I will fix it in the next 1.12.1 release.</div><div> </div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature">luigi<br></div></div>