[latex3-commits] [git/LaTeX3-latex3-latex3] master: Change of plan on absolute paths (7b104f3)

Joseph Wright joseph.wright at morningstar2.co.uk
Mon Jan 14 18:23:06 CET 2019


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

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

commit 7b104f3ea3e8966af614e295f1ccadec9d72e21d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Mon Jan 14 17:23:06 2019 +0000

    Change of plan on absolute paths


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

7b104f3ea3e8966af614e295f1ccadec9d72e21d
 l3kernel/CHANGELOG.md |    4 ----
 l3kernel/l3keys.dtx   |   33 ++++++---------------------------
 2 files changed, 6 insertions(+), 31 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index b973ae8..e0388e3 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,10 +7,6 @@ this project uses date-based 'snapshot' version identifiers.
 
 ## [Unreleased]
 
-### Changed
-
-- Support for absolute key paths
-
 ## [2019-01-13]
 
 ### Added
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 845682b..714981e 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -456,19 +456,6 @@
 % As illustrated in the next section, this subdivision is
 % particularly relevant to making multiple choices.
 %
-% \section{Absolute key paths}
-%
-% The use of |/| at the \emph{start} of a key name has a special meaning:
-% this makes a key path \emph{absolute} rather than \emph{relative}. For
-% example
-% \begin{verbatim}
-%   \keys_define:nn { mymodule }
-%     { / othermodule / key .code:n = code }
-% \end{verbatim}
-% will define |othermodule/key| rather than |mymodule/othermoudle/key|. This
-% is important when for example filtering keys, as it means that keys which
-% are \emph{skipped} can later be set irrespective of the module setting.
-%
 % \section{Choice and multiple choice keys}
 % \label{sec:l3keys:choice}
 %
@@ -1354,13 +1341,9 @@
           {
             \tl_set:Nx \l_keys_path_tl
               {
-                \str_if_eq:eeTF { \tl_head:n {#1} } { / }
-                  { \use_none:n #1 }
-                  {
-                    \tl_if_empty:NF \l_@@_module_tl
-                      { \l_@@_module_tl  / }
-                    #1
-                  }
+                \tl_if_empty:NF \l_@@_module_tl
+                  { \l_@@_module_tl  / }
+                #1
               }
             \tl_set:Nn \l_@@_property_tl { . #2 }
           }
@@ -2216,13 +2199,9 @@
   {
     \tl_set:Nx \l_keys_path_tl
       {
-        \str_if_eq:eeTF { \tl_head:n {#2} } { / }
-          { \exp_args:No \@@_remove_spaces:n { \use_none:n #2 } }
-          {
-            \tl_if_blank:nF {#1}
-              { #1 / }
-            \@@_remove_spaces:n {#2}
-          }
+        \tl_if_blank:nF {#1}
+          { #1 / }
+        \@@_remove_spaces:n {#2}
       }
     \tl_clear:N \l_@@_module_tl
     \exp_after:wN \@@_find_key_module:w \l_keys_path_tl / \q_stop





More information about the latex3-commits mailing list