[latex3-commits] [latex3/latex3] main: Add required \exp_after:wN (27d7de811)
github at latex-project.org
github at latex-project.org
Mon May 22 09:25:55 CEST 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/27d7de811b767eb0cae137c6e20ade7992f447f2
>---------------------------------------------------------------
commit 27d7de811b767eb0cae137c6e20ade7992f447f2
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon May 22 08:25:55 2023 +0100
Add required \exp_after:wN
>---------------------------------------------------------------
27d7de811b767eb0cae137c6e20ade7992f447f2
l3kernel/l3skip.dtx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/l3kernel/l3skip.dtx b/l3kernel/l3skip.dtx
index ea82214b6..fa481decf 100644
--- a/l3kernel/l3skip.dtx
+++ b/l3kernel/l3skip.dtx
@@ -1974,12 +1974,12 @@
{
\token_if_eq_charcode:NNTF #1 -
{
- \exp_after:wN \@@_get_remainder:w
+ \exp_after:wN \exp_after:wN \exp_after:wN \@@_get_remainder:w
\int_eval:w ( 2 * #2 - #3 ) / ( 2 * #3 ) ;
#2 ; #3 ; - ;
}
{
- \exp_after:wN \@@_get_remainder:w
+ \exp_after:wN \exp_after:wN \exp_after:wN \@@_get_remainder:w
\int_eval:w ( 2 * #1#2 - #3 ) / ( 2 * #3 ) ;
#1#2 ; #3 ; ;
}
@@ -1995,7 +1995,7 @@
% \begin{macrocode}
\cs_new:Npn \@@_get_remainder:w #1;#2;#3;
{
- \exp_after:wN \@@_convert_remainder:w
+ \exp_after:wN \exp_after:wN \exp_after:wN \@@_convert_remainder:w
\int_eval:w #2 - #1 * #3 ;
#3 ; #1 ;
}
@@ -2008,7 +2008,7 @@
% \begin{macrocode}
\cs_new:Npn \@@_convert_remainder:w #1;#2;
{
- \exp_after:wN \@@_test_candidate:w
+ \exp_after:wN \exp_after:wN \exp_after:wN \@@_test_candidate:w
\int_eval:w #1 * 65536 / #2 ;
#1 ; #2 ;
}
More information about the latex3-commits
mailing list.