[latex3-commits] [git/LaTeX3-latex3-latex3] unicode-data: Correct codepoint logic (4251d02d5)
Joseph Wright
joseph.wright at morningstar2.co.uk
Thu Oct 13 08:32:44 CEST 2022
Repository : https://github.com/latex3/latex3
On branch : unicode-data
Link : https://github.com/latex3/latex3/commit/4251d02d5b3eec70d9a5ac4a998bde2c4ec72d18
>---------------------------------------------------------------
commit 4251d02d5b3eec70d9a5ac4a998bde2c4ec72d18
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Thu Oct 13 07:32:37 2022 +0100
Correct codepoint logic
>---------------------------------------------------------------
4251d02d5b3eec70d9a5ac4a998bde2c4ec72d18
l3kernel/l3unicode.dtx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/l3kernel/l3unicode.dtx b/l3kernel/l3unicode.dtx
index e3c8b087c..5c00be01a 100644
--- a/l3kernel/l3unicode.dtx
+++ b/l3kernel/l3unicode.dtx
@@ -203,11 +203,7 @@
\int_compare:nNnTF {#1} = { `\ }
{ ~ }
{
- \int_compare:nNnTF {#1} < { "80 }
- {
- \__kernel_exp_not:w \exp_after:wN \exp_after:wN \exp_after:wN
- { \char_generate:nn {#1} { \char_value_catcode:n {#1} } }
- }
+ \int_compare:nNnTF {#1} > { "80 }
{
\use:e
{
@@ -215,6 +211,10 @@
\codepoint_to_bytes:n {#1}
}
}
+ {
+ \__kernel_exp_not:w \exp_after:wN \exp_after:wN \exp_after:wN
+ { \char_generate:nn {#1} { \char_value_catcode:n {#1} } }
+ }
}
}
\cs_new:Npn \@@_generate:nnnn #1#2#3#4
More information about the latex3-commits
mailing list.