[latex3-commits] [git/LaTeX3-latex3-latex3] master: Use @@ notation in l3final (00c4d40)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Mar 26 12:01:22 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/00c4d407c090b288f8827603b6c262ee390a6ea9
>---------------------------------------------------------------
commit 00c4d407c090b288f8827603b6c262ee390a6ea9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Mar 26 11:01:22 2018 +0100
Use @@ notation in l3final
Avoids l3doc warnings
>---------------------------------------------------------------
00c4d407c090b288f8827603b6c262ee390a6ea9
l3kernel/l3final.dtx | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/l3kernel/l3final.dtx b/l3kernel/l3final.dtx
index b0e54d8..fd795a9 100644
--- a/l3kernel/l3final.dtx
+++ b/l3kernel/l3final.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: l3final.dtx Copyright (C) 1990-2017 The LaTeX3 Project
+%% File: l3final.dtx Copyright (C) 1990-2018 The LaTeX3 Project
%
% It may be distributed and/or modified under the conditions of the
% LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -63,6 +63,10 @@
%
% \subsection{Input encoding}
%
+% \begin{macrocode}
+%<@@=char>
+% \end{macrocode}
+%
% The letters |a|--|z| and |A|--|Z| have the correct catcode directly from Ini\TeX{}
% while for Unicode engines (almost) all characters to be treated as letters
% are defined by the automatic data parsing. Thus the changes here are to
@@ -122,7 +126,7 @@
% \end{macrocode}
% The actual mappings: these are kept low-level for performance reasons.
% \begin{macrocode}
- \cs_new:cpn { __char_active_C3:N } #1
+ \cs_new:cpn { @@_active_C3:N } #1
{
\if_meaning:w #1 ^^9f ^^ff \else: % ß - U+00DF - germandbls
\if_meaning:w #1 ^^a0 ^^e0 \else: % à - U+00E0 - agrave
@@ -160,7 +164,7 @@
\fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi:
\fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi:
}
- \cs_new:cpn { __char_active_C4:N } #1
+ \cs_new:cpn { @@_active_C4:N } #1
{
\if_meaning:w #1 ^^83 ^^a0 \else: % ă - U+0103 - abreve
\if_meaning:w #1 ^^85 ^^a1 \else: % ą - U+0105 - aogonek
@@ -178,7 +182,7 @@
\__kernel_msg_expandable_error:nn { kernel } { encoding-failure }
\fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi:
}
- \cs_new:cpn { __char_active_C5:N } #1
+ \cs_new:cpn { @@_active_C5:N } #1
{
\if_meaning:w #1 ^^82 ^^aa \else: % ł - U+0142 - lslash
\if_meaning:w #1 ^^84 ^^ab \else: % ń - U+0144 - nacute
@@ -201,7 +205,7 @@
\fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi:
\fi: \fi: \fi: \fi: \fi: \fi: \fi: \fi:
}
- \cs_new:cpn { __char_active_C8:N } #1
+ \cs_new:cpn { @@_active_C8:N } #1
{
\if_meaning:w #1 ^^99 ^^b3 \else: % ș - U+0219 - scommaaccent
\if_meaning:w #1 ^^9b ^^b5 \else: % ț - U+021B - tcommaaccent
@@ -215,7 +219,7 @@
\clist_map_inline:nn { C3 , C4 , C5 , C8 }
{
\char_set_catcode_active:n { "#1 }
- \char_set_active_eq:nc { "#1 } { __char_active_ #1 :N }
+ \char_set_active_eq:nc { "#1 } { @@_active_ #1 :N }
\seq_put_right:Nx \l_char_special_seq
{ \exp_not:c { \char_generate:nn { "#1 } { 12 } } }
\seq_put_right:Nx \l_char_active_seq
More information about the latex3-commits
mailing list