\tracingtokens=1, ( ) are logged curiously
![](https://secure.gravatar.com/avatar/d02636ea33d6f65644e70df107756086.jpg?s=120&d=mm&r=g)
Suppose: ----------------------------------------- \tracingscantokens=1 \scantextokens{first} \scantextokens{second} \bye ----------------------------------------- and run luatex test. Then the ( and ) are logged curiously: ( ( ... )) Why all closing )) are logged after end command? If we change \scantextokens to \scantokens, then ( and ) behaves more logical in log file and in the terminal: ( ) ( ). Petr Olsak
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Tue, Feb 23, 2021 at 9:15 AM Petr Olsak
Suppose:
-----------------------------------------
\tracingscantokens=1
\scantextokens{first}
\scantextokens{second}
\bye
-----------------------------------------
and run luatex test.
Then the ( and ) are logged curiously: ( ( ... )) Why all closing )) are logged after end command?
If we change \scantextokens to \scantokens, then ( and ) behaves more logical in log file and in the terminal: ( ) ( ).
Petr Olsak
confirmed, we will see if we can fix it for the upcoming texlive. -- luigi
![](https://secure.gravatar.com/avatar/e4c9ac2d6767c339044a47acd5516be9.jpg?s=120&d=mm&r=g)
Hello,
it seems that this bug was not fixed even in Luatex 1.13.2.
\scantokens is logged correctly but \scatextokens not.
Petr Olsak
-------- Forwarded Message --------
Subject: Re: [Dev-luatex] \tracingtokens=1, ( ) are logged curiously
Date: Tue, 23 Feb 2021 11:36:46 +0100
From: luigi scarso
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Fri, May 21, 2021 at 1:34 PM Petr Olsak
Hello,
it seems that this bug was not fixed even in Luatex 1.13.2.
\scantokens is logged correctly but \scatextokens not.
yes, still to fix. It's a bit complicated, a previous patch for texlive failed, so I had to postpone it. -- luigi
participants (3)
-
luigi scarso
-
Petr Olsak
-
Petr Olsak