[latex3-commits] [git/LaTeX3-latex3-latex3] master: Enable inheritance of key requirements (fixes #653) (ddd1b57c3)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Jan 8 10:37:19 CET 2020


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

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

commit ddd1b57c352acbe51fcf3146d04d545d5d478ea8
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed Jan 8 09:37:19 2020 +0000

    Enable inheritance of key requirements (fixes #653)


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

ddd1b57c352acbe51fcf3146d04d545d5d478ea8
 l3kernel/CHANGELOG.md | 1 +
 l3kernel/l3keys.dtx   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 9136db502..06ad01d42 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -15,6 +15,7 @@ this project uses date-based 'snapshot' version identifiers.
 - Distribute LaTeX3 News
 
 ### Fixed
+- Inherit key required/forbidden properties (see #653)
 - Set backend at the beginning of `\document` (see #657)
 
 ## [2019-11-07]
diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 27a90c191..dd37eb38a 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -2523,6 +2523,7 @@
           { \c_@@_code_root_tl ##1 / \l_keys_key_tl }
           {
             \tl_set:Nn \l_@@_inherit_tl {##1}
+            \cs_if_exist_use:c { \c_@@_validate_root_tl ##1 / \l_keys_key_tl }
             \cs:w \c_@@_code_root_tl ##1 / \l_keys_key_tl
               \exp_after:wN \cs_end: \exp_after:wN
               { \l_keys_value_tl }





More information about the latex3-commits mailing list