[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/babel/gh189: Add a comment to explain the code (ad2087f7)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Nov 30 15:10:31 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/babel/gh189
Link       : https://github.com/latex3/latex2e/commit/ad2087f7c9af949abb7055a245189cc1afdfae8a

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

commit ad2087f7c9af949abb7055a245189cc1afdfae8a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Nov 30 14:10:31 2022 +0000

    Add a comment to explain the code


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

ad2087f7c9af949abb7055a245189cc1afdfae8a
 base/ltfinal.dtx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/base/ltfinal.dtx b/base/ltfinal.dtx
index 3338d3ea..a19ffa83 100644
--- a/base/ltfinal.dtx
+++ b/base/ltfinal.dtx
@@ -1144,7 +1144,6 @@
   }
 \exp_args_generate:n { cnx }
 %    \end{macrocode}
-% \changes{v2.2y}{2022/11/30}{Set \cs{oe}/\cs{OE} equal to act as a marker for \pkg{babel}}
 % The odd use of \emph{three} spaces here is needed as \pkg{ltcmd} uses the
 % name with one and two spaces to give a `friendly' error message for a runaway
 % argument: that means we can't use it here.
@@ -1160,6 +1159,13 @@
 \reserved at a { Upper }
 \reserved at a { Lower }
 \reserved at a { Title }
+%    \end{macrocode}
+% \changes{v2.2y}{2022/11/30}{Set \cs{oe}/\cs{OE} equal to act as a marker for \pkg{babel}}
+% Currently, \pkg{babel} uses the equivalence of \cs{oe} and \cs{OE} to force casing of
+% some material, most notably in \cs{today}. To enable that to work, we have to set those
+% commands equal even though the current case changing code does not work using this
+% approach.
+%    \begin{macrocode}
 \cs_new_protected:cpn { MakeLowercase \c_space_tl \c_space_tl \c_space_tl } [#1] #2
   {
     \let \kernel at saved@OE \OE





More information about the latex3-commits mailing list.