[latex3-commits] [git/LaTeX3-latex3-latex2e] utf-8-protected: document protected utf-8 bytes (5a923aee)

David Carlisle d.p.carlisle at gmail.com
Sat Feb 19 20:29:47 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : utf-8-protected
Link       : https://github.com/latex3/latex2e/commit/5a923aeeae952a7e60a2eb37269b7869bb55b268

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

commit 5a923aeeae952a7e60a2eb37269b7869bb55b268
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sat Feb 19 19:29:47 2022 +0000

    document protected utf-8 bytes


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

5a923aeeae952a7e60a2eb37269b7869bb55b268
 base/doc/ltnews35.tex | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/base/doc/ltnews35.tex b/base/doc/ltnews35.tex
index b871990a..766c0d83 100644
--- a/base/doc/ltnews35.tex
+++ b/base/doc/ltnews35.tex
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright 2019-2021
+% Copyright 2019-2022
 % The LaTeX Project and any individual authors listed elsewhere
 % in this file.
 %
@@ -323,6 +323,13 @@ layer)) which was also used in the example above.
 
 \section{Code improvements}
 
+\subsection{\cs{protected} UTF-8 character definitions}
+The characters defined via \file{utf8.def} are now defined as \cs{protected}
+macros. This makes them safe to use in expansion contexts where the
+classic \cs{protect} mechanism is not enabled, notably L3 programming
+layer \texttt{e} and \texttt{x} arguments.
+%
+\githubissue{779}
 
 \subsection{A small update to \cs{obeylines} and \cs{obeyspaces}}
 





More information about the latex3-commits mailing list.