<div dir="ltr"><div><div><div><div><br clear="all"><br></div>the file lualatex-patch-kernel.tex patches \typein while making the lualatex format but unfortunately the redefinition is incorrect. The maintenance of teh file wasn't that clear to me so I'm reporting to the tex-live ,ist.<br>
<br></div>if you enter # to a \typein prompt it is supposed to work but generates<br><br>\foo =#<br>! Illegal parameter number in definition of \foo.<br><br><br></div>with lualatex.<br><br></div>The following test file show one possible fixed definition and tests the above input<br>
<br><br>\makeatletter<br><br><br><br>\def\@xtypein[#1]#2{%<br> \typeout{#2}%<br> %%\advance\endlinechar\@M<br> \begingroup \endlinechar\m@ne<br> \read\@inputcheck to#1%<br> \expandafter\endgroup<br> \expandafter\edef\expandafter#1\expandafter<br>
{\expandafter\unexpanded\expandafter{#1}}%<br>%%%%%%%%% \expandafter\def\expandafter#1\expandafter{#1}% doesn't allow #<br> %%\advance\endlinechar-\@M<br> \@typein}<br><br><br><br>\typein[\foo]{type here:}<br>\show \foo<br>
<br><br>\stop<br><br><br></div>