[latex3-commits] [latex3/latex3] general-category: Switch from "\codepoint_category:n" to "\codepoint_to_category:n" (635ff028b)

github at latex-project.org github at latex-project.org
Mon Jun 19 07:01:40 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : general-category
Link       : https://github.com/latex3/latex3/commit/635ff028bf45b923a15644236c54e2266919bff3

>---------------------------------------------------------------

commit 635ff028bf45b923a15644236c54e2266919bff3
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Jun 19 06:01:40 2023 +0100

    Switch from "\codepoint_category:n" to "\codepoint_to_category:n"


>---------------------------------------------------------------

635ff028bf45b923a15644236c54e2266919bff3
 l3kernel/CHANGELOG.md               |  2 +-
 l3kernel/l3unicode.dtx              |  4 ++--
 l3kernel/testfiles/m3unicode001.lvt | 20 ++++++++++----------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 21d7e4099..fcbdcb325 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -8,7 +8,7 @@ this project uses date-based 'snapshot' version identifiers.
 ## [Unreleased]
 
 ### Added
-- `\codepoint_category:n`
+- `\codepoint_to_category:n`
 ## [2023-06-16]
 
 ### Changed
diff --git a/l3kernel/l3unicode.dtx b/l3kernel/l3unicode.dtx
index cc7f50d7d..b04be57fb 100644
--- a/l3kernel/l3unicode.dtx
+++ b/l3kernel/l3unicode.dtx
@@ -106,9 +106,9 @@
 %   category code $10$.
 % \end{function}
 %
-% \begin{function}[added = 2023-06-18, EXP]{\codepoint_category:n}
+% \begin{function}[added = 2023-06-19, EXP]{\codepoint_to_category:n}
 %   \begin{syntax}
-%     \cs{codepoint_category:n} \Arg{codepoint}
+%     \cs{codepoint_to_category:n} \Arg{codepoint}
 %   \end{syntax}
 %   Expands to the Unicode general category identifier of the \meta{codepoint}.
 %   The general category identifier is a string made up of two letter
diff --git a/l3kernel/testfiles/m3unicode001.lvt b/l3kernel/testfiles/m3unicode001.lvt
index bcd5715ae..d4fca4363 100644
--- a/l3kernel/testfiles/m3unicode001.lvt
+++ b/l3kernel/testfiles/m3unicode001.lvt
@@ -56,16 +56,16 @@
 
 \TESTEXP { General~category }
   {
-    \codepoint_category:n { "0000 } \NEWLINE
-    \codepoint_category:n { "0020 } \NEWLINE
-    \codepoint_category:n { "0022 } \NEWLINE
-    \codepoint_category:n { "0041 } \NEWLINE
-    \codepoint_category:n { "007D } \NEWLINE
-    \codepoint_category:n { "013A } \NEWLINE
-    \codepoint_category:n { "3400 } \NEWLINE
-    \codepoint_category:n { "3401 } \NEWLINE
-    \codepoint_category:n { "4DBF } \NEWLINE
-    \codepoint_category:n { "4DC0 } \NEWLINE
+    \codepoint_to_category:n { "0000 } \NEWLINE
+    \codepoint_to_category:n { "0020 } \NEWLINE
+    \codepoint_to_category:n { "0022 } \NEWLINE
+    \codepoint_to_category:n { "0041 } \NEWLINE
+    \codepoint_to_category:n { "007D } \NEWLINE
+    \codepoint_to_category:n { "013A } \NEWLINE
+    \codepoint_to_category:n { "3400 } \NEWLINE
+    \codepoint_to_category:n { "3401 } \NEWLINE
+    \codepoint_to_category:n { "4DBF } \NEWLINE
+    \codepoint_to_category:n { "4DC0 } \NEWLINE
   }
 
 \END
\ No newline at end of file





More information about the latex3-commits mailing list.