[latex3-commits] [latex3/tagpdf] renamekeys: support old on/off value (c344bd0)

github at latex-project.org github at latex-project.org
Wed Feb 21 22:34:50 CET 2024


Repository : https://github.com/latex3/tagpdf
On branch  : renamekeys
Link       : https://github.com/latex3/tagpdf/commit/c344bd0486b543493dd90655e128cb62ffa0e959

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

commit c344bd0486b543493dd90655e128cb62ffa0e959
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed Feb 21 22:34:50 2024 +0100

    support old on/off value


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

c344bd0486b543493dd90655e128cb62ffa0e959
 tagpdf-space.dtx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tagpdf-space.dtx b/tagpdf-space.dtx
index a09f1a1..4c1a309 100644
--- a/tagpdf-space.dtx
+++ b/tagpdf-space.dtx
@@ -90,7 +90,8 @@
 %    \end{macrocode}
 % deprecated versions:
 %    \begin{macrocode}
-    interwordspace .meta:n = {activate/spaces={#1}},
+    interwordspace .choices:nn = {true,on}{\keys_set:nn{@@/setup}{activate/spaces={true}}},
+    interwordspace .choices:nn = {false,off}{\keys_set:nn{@@/setup}{activate/spaces={false}}},
     interwordspace .default:n = {true},
     show-spaces    .choice:,
     show-spaces/true .meta:n =  {debug/show=spaces},





More information about the latex3-commits mailing list.