diff --git a/base/changes.txt b/base/changes.txt index 033a538f8..c9f008476 100644 --- a/base/changes.txt +++ b/base/changes.txt @@ -5,6 +5,9 @@ hotfixes). It is provided for convenience only. It therefore makes no claims to completeness or accuracy and it contains some references to files that are not part of the distribution. ================================================================================ +2024-09-25 Matthew Bertucci + * ltproperties.dtx: Fix definitions for \IfLabelExistsT and \IfLabelExistsF + 2024-09-17 Ulrike Fischer * lttagging.dtx: dummy for \tag_suspend:n and \tag_resume:n * lttagging.dtx: declare tagging sockets for floats and caption. diff --git a/base/ltproperties.dtx b/base/ltproperties.dtx index 0e07a0ae0..23a38c43a 100644 --- a/base/ltproperties.dtx +++ b/base/ltproperties.dtx @@ -30,7 +30,7 @@ %<*driver> % \fi \ProvidesFile{ltproperties.dtx} - [2024/09/05 v1.0f LaTeX Kernel (Properties)] + [2024/09/25 v1.0g LaTeX Kernel (Properties)] % \iffalse % \documentclass[full]{l3doc} @@ -776,11 +776,13 @@ % % \begin{macro}{\IfLabelExistsTF,\IfLabelExistsT,\IfLabelExistsF} % \changes{v1.0e}{2024-04-17}{Renamed \cs{IfLabelExistTF} to -% \cs{IfLabelExistsTF} (gh/1262)} +% \cs{IfLabelExistsTF} (gh/1262)} +% \changes{v1.0g}{2024-09-25}{Fixed definitions of \cs{IfLabelExistsT} +% and \cs{IfLabelExistsF}} % \begin{macrocode} \cs_new_eq:NN \IfLabelExistsTF \property_if_recorded:eTF -\cs_new:Npn \IfLabelExistsT #1#2 {\property_if_exist:eTF {#1}{#2}{} } -\cs_new:Npn \IfLabelExistsF #1 {\property_if_exist:eTF {#1}{} } +\cs_new:Npn \IfLabelExistsT #1#2 {\property_if_recorded:eTF {#1}{#2}{} } +\cs_new:Npn \IfLabelExistsF #1 {\property_if_recorded:eTF {#1}{} } % \end{macrocode} % \end{macro} % diff --git a/base/testfiles/properties-008-expansion.lvt b/base/testfiles/properties-008-expansion.lvt index f90302503..565164c2c 100644 --- a/base/testfiles/properties-008-expansion.lvt +++ b/base/testfiles/properties-008-expansion.lvt @@ -54,8 +54,8 @@ xxxxx \ASSERT{true true false} { \IfLabelExistsTF {label\labelsuffix}{true}{false} - \IfLabelExistsT {name\propsuffix}{true} - \IfLabelExistsF {name\propsuffix XXX}{false} + \IfLabelExistsT {label\labelsuffix}{true} + \IfLabelExistsF {label\labelsuffix XXX}{false} } }