Skip to content

Commit 57700bd

Browse files
u-fischerjosephwright
authored andcommitted
add missing variants, #1532
1 parent 2ef69f1 commit 57700bd

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

base/changes.txt

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ to completeness or accuracy and it contains some references to files that are
66
not part of the distribution.
77
================================================================================
88

9+
2024-11-05 Ulrike Fischer <[email protected]>
10+
* ltproperties.dtx: add missing variants (gh/1532).
11+
912
================================================================================
1013
All changes above are only part of the development branch for the next release.
1114
================================================================================

base/ltproperties.dtx

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
%<*driver>
3131
% \fi
3232
\ProvidesFile{ltproperties.dtx}
33-
[2024/10/21 v1.0h LaTeX Kernel (Properties)]
33+
[2024/11/05 v1.0i LaTeX Kernel (Properties)]
3434
% \iffalse
3535
%
3636
\documentclass[full]{l3doc}
@@ -741,7 +741,7 @@
741741
\prg_return_false:
742742
}
743743
}
744-
\prg_generate_conditional_variant:Nnn \property_if_exist:n {e} {TF}
744+
\prg_generate_conditional_variant:Nnn \property_if_exist:n {e} { p , T , F, TF }
745745
% \end{macrocode}
746746
% \end{macro}
747747
%
@@ -770,7 +770,7 @@
770770
\prg_return_false:
771771
}
772772
}
773-
\prg_generate_conditional_variant:Nnn \property_if_recorded:n {e} {TF}
773+
\prg_generate_conditional_variant:Nnn \property_if_recorded:n {e} { p , T , F, TF }
774774
% \end{macrocode}
775775
% \end{macro}
776776
%
@@ -801,7 +801,7 @@
801801
\prg_return_false:
802802
}
803803
}
804-
\prg_generate_conditional_variant:Nnn \property_if_recorded:nn {ee} {TF}
804+
\prg_generate_conditional_variant:Nnn \property_if_recorded:nn {ee} { p , T , F, TF }
805805
% \end{macrocode}
806806
% \end{macro}
807807
%

base/testfiles/properties-005-test.lvt

+12
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,18 @@ xxxxx
8484
\IfPropertyRecordedTF {label-known}{target} {true}{false}
8585
}
8686
}
87+
88+
\TEST{variants}
89+
{
90+
\ASSERT{true}
91+
{
92+
\property_if_recorded:eT {label-known}{true}
93+
}
94+
\ASSERT{}
95+
{
96+
\property_if_exist:eF {name}{false}
97+
}
98+
}
8799
\ExplSyntaxOff
88100

89101
\end{document}

base/testfiles/properties-005-test.tlg

+6
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,11 @@ TEST 7: knownlabel,knownproperty
5454
PASSED
5555
PASSED
5656
============================================================
57+
============================================================
58+
TEST 8: variants
59+
============================================================
60+
PASSED
61+
PASSED
62+
============================================================
5763
[1
5864
] (properties-005-test.aux)

0 commit comments

Comments
 (0)