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

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Nov 25 23:47:46 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : options
Link       : https://github.com/latex3/latex3/commit/3103d796069c95ae8f6220401d29396a5fce9161

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

commit 3103d796069c95ae8f6220401d29396a5fce9161
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.


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

3103d796069c95ae8f6220401d29396a5fce9161
 l3kernel/l3keys.dtx | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 4bbbc085f..8360f7881 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.