diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3final.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3final.dtx | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3final.dtx b/Master/texmf-dist/source/latex/l3kernel/l3final.dtx index b0e54d8aa65..1772a41914f 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3final.dtx +++ b/Master/texmf-dist/source/latex/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 @@ -41,7 +41,7 @@ % }^^A % } % -% \date{Released 2018/03/05} +% \date{Released 2018-04-30} % % \maketitle % @@ -63,7 +63,11 @@ % % \subsection{Input encoding} % -% The letters |a|--|z| and |A|--|Z| have the correct catcode directly from Ini\TeX{} +% \begin{macrocode} +%<@@=char> +% \end{macrocode} +% +% The letters |a|--|z| and |A|--|Z| have the correct catcode directly from \IniTeX{} % 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 % deal with the additional cases. @@ -71,10 +75,10 @@ % All the characters in the range $0$--$31$ \emph{except} tab (|^^I|), nl % (|^^J|), ff (|^^L|) and cr (|^^M|). % \begin{macrocode} -\int_step_inline:nnnn { 0 } { 1 } { `\^^H } +\int_step_inline:nnn { 0 } { `\^^H } { \char_set_catcode_invalid:n {#1} } \char_set_catcode_invalid:n { `\^^K } -\int_step_inline:nnnn { `\^^N } { 1 } { 31 } +\int_step_inline:nnn { `\^^N } { 31 } { \char_set_catcode_invalid:n {#1} } % \end{macrocode} % The same is true for the top of the $7$-bit range. @@ -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 @@ -272,7 +276,7 @@ = "[latinmodern-math.otf]/OT:mode=base;script=math;+ssty=0;"~at~7pt \scan_stop: \tex_font:D \exp_not:c { TU/lmm/m/n/5 } = "[latinmodern-math.otf]/OT:mode=base;script=math;+ssty=1;"~at~5pt \scan_stop: - \exp_not:N \int_step_inline:nnnn { 0 } { 1 } { 3 } + \exp_not:N \int_step_inline:nnn { 0 } { 3 } { \tex_textfont:D ##1 = \exp_not:c { TU/lmm/m/n/10 } \tex_scriptfont:D ##1 = \exp_not:c { TU/lmm/m/n/7 } |