[latex3-commits] [git/LaTeX3-latex3-latex3] options: Initial ideas for '2e-like' properties (87cd47355)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jan 10 18:19:26 CET 2022


Repository : https://github.com/latex3/latex3
On branch  : options
Link       : https://github.com/latex3/latex3/commit/87cd473553e2f12102c4c6b26157c834e1fae7f0

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

commit 87cd473553e2f12102c4c6b26157c834e1fae7f0
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Nov 25 22:47:46 2021 +0000

    Initial ideas for '2e-like' properties
    
    May need work on the names, plus some idea of
    where to document these.


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

87cd473553e2f12102c4c6b26157c834e1fae7f0
 l3kernel/l3keys.dtx | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index c81aafb87..535e11e4b 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -2630,6 +2630,28 @@
 % \end{macro}
 % \end{macro}
 %
+% \subsection{Key properties for \LaTeXe{} options}
+%
+% \begin{macro}{.if, .store, .validity}
+%    \begin{macrocode}
+\group_begin:
+  \cs_set_protected:Npn \@@_tmp:nn #1#2
+    {
+      \quark_if_recursion_tail_stop:n {#1}
+      \cs_new_eq:cc
+        { \c_@@_props_root_str . #1 }
+        { \c_@@_props_root_str . #2 } 
+    }
+  \@@_tmp:nn
+    { legacy_if:n } { if }
+    { tl_set:N }    { store }
+    { validity:n }  { validity }
+    { \q_recursion_tail } { }
+    \q_recursion_stop
+\group_end:
+%    \end{macrocode}
+% \end{macro}
+%
 % \subsection{Setting keys}
 %
 % \begin{macro}





More information about the latex3-commits mailing list.