[latex3-commits] [git/LaTeX3-latex3-latex3] master: -Extend `\text_purify:n` to cover `\@protected at testopt` (be7c7a163)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Nov 4 23:15:33 CET 2020


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/be7c7a1632637895cac9fe8cbe576a163e31c3cf

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

commit be7c7a1632637895cac9fe8cbe576a163e31c3cf
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Nov 4 22:15:27 2020 +0000

    -Extend `\text_purify:n` to cover `\@protected at testopt`


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

be7c7a1632637895cac9fe8cbe576a163e31c3cf
 l3kernel/CHANGELOG.md      | 1 +
 l3kernel/l3text-purify.dtx | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index f932918cf..dbeb92795 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -9,6 +9,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 ### Unchanged
 - Extend `\text_expand:n` to cover `\@protected at testopt`
+- Extend `\text_purify:n` to cover `\@protected at testopt`
 
 ## [2020-10-27]
 
diff --git a/l3kernel/l3text-purify.dtx b/l3kernel/l3text-purify.dtx
index 1bc377ed0..a404824f2 100644
--- a/l3kernel/l3text-purify.dtx
+++ b/l3kernel/l3text-purify.dtx
@@ -396,6 +396,8 @@
     \tiny
   }
   { \text_declare_purify_equivalent:Nn #1 { } }
+\exp_args:Nc \text_declare_purify_equivalent:cn
+  { @protected at testopt } { \use_none:nnn }
 %    \end{macrocode}
 % Environments have to be handled by pure expansion.
 %





More information about the latex3-commits mailing list.