You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
would fail with “Missing number, treated as zero” because \tex_chardef:D makes \l_test_bool equivalent to \relax until the assignment is actually performed and the evaluation of the given boolean expression only leaves \l_test_bool, as demonstrated by the \tl_show:x line.
A workaround is to use a nontrivial boolean expression such as \l_test_bool && \c_true_bool, but it should be either documented or fixed.
The text was updated successfully, but these errors were encountered:
Source: https://tex.stackexchange.com/q/634629/4427
would fail with “Missing number, treated as zero” because
\tex_chardef:D
makes\l_test_bool
equivalent to\relax
until the assignment is actually performed and the evaluation of the given boolean expression only leaves\l_test_bool
, as demonstrated by the\tl_show:x
line.A workaround is to use a nontrivial boolean expression such as
\l_test_bool && \c_true_bool
, but it should be either documented or fixed.The text was updated successfully, but these errors were encountered: