-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
\cctab_const:Nn
raises "Inconsistent local/global assignment" errors
#1508
Comments
Or we can wrap relevant lines in between Lines 641 to 658 in 35b15d8
|
muzimuzhi
added a commit
to muzimuzhi/latex3
that referenced
this issue
Mar 19, 2024
muzimuzhi
added a commit
to muzimuzhi/latex3
that referenced
this issue
Mar 19, 2024
This was referenced Mar 19, 2024
josephwright
pushed a commit
that referenced
this issue
Mar 20, 2024
muzimuzhi
added a commit
to muzimuzhi/latex3
that referenced
this issue
Apr 2, 2024
This also avoids duplicate inconsistent local/global assignment errors raised by \cctab_new:N and unwanted logging written by \cctab_begin: in non-LuaTeX engines. See latex3#1508.
josephwright
pushed a commit
that referenced
this issue
Apr 2, 2024
This also avoids duplicate inconsistent local/global assignment errors raised by \cctab_new:N and unwanted logging written by \cctab_begin: in non-LuaTeX engines. See #1508.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiled with non-LuaLaTeX, this raises three "Inconsistent local/global assignment" errors.
\cctab_new:N \c_..._cctab
used by\cctab_const:Nn
\intarray_new:N \c_..._cctab
used by\__cctab_new:N
, which is used by\cctab_new:N
\cctab_gset:N \c_..._cctab
used by\cctab_const:Nn
With LuaLaTeX, only the first and last are raised because
\__cctab_new:n
is based on\newcatcodetable
notintarray
.latex3/l3kernel/l3cctab.dtx
Lines 802 to 806 in 35b15d8
latex3/l3kernel/l3cctab.dtx
Lines 294 to 315 in 35b15d8
The first and third errors can be avoided by rewriting
\cctab_const:Nn
in implementations of\cctab_new:N
and\cctab_gset:Nn
, for examplebut to avoid the second error it seems
\intarray_const:Nnn <intarray var> {<size>} { <position-value pairs> }
is needed.The text was updated successfully, but these errors were encountered: