Skip to content

Commit

Permalink
Fix tagging issue 696 (#1465)
Browse files Browse the repository at this point in the history
* remove @filesw test from property_record, latex3/tagging-project#696

* Update base/changes.txt

Co-authored-by: Yukai Chou <muzimuzhi@gmail.com>

---------

Co-authored-by: Joseph Wright <joseph@texdev.net>
Co-authored-by: Yukai Chou <muzimuzhi@gmail.com>
  • Loading branch information
3 people authored Sep 13, 2024
1 parent 323715b commit ce13ae5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
4 changes: 4 additions & 0 deletions base/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ to completeness or accuracy and it contains some references to files that are
not part of the distribution.
================================================================================

2024-09-12 Ulrike Fischer <Ulrike.Fischer@latex-project.org>
* ltproperties.dtx: remove @filesw-test in \__property_record:nn,
see https://github.com/latex3/tagging-project/issues/696

2024-09-11 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* lterror.dtx (subsection{Specific errors}):
Expand Down
15 changes: 7 additions & 8 deletions base/ltproperties.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
%<*driver>
% \fi
\ProvidesFile{ltproperties.dtx}
[2024/06/29 v1.0e LaTeX Kernel (Properties)]
[2024/09/05 v1.0f LaTeX Kernel (Properties)]
% \iffalse
%
\documentclass[full]{l3doc}
Expand Down Expand Up @@ -560,6 +560,8 @@
% comma at the end of the list as that is easier to deal with than trying
% to tidy up, and there is no real downside.
% \changes{v1.0d}{2024-01-17}{Use \cs{protected@write}}%
% \changes{v1.0f}{2024-09-05}{Remove \cs{if@filesw} test to be in line with \cs{label},
% tagging-project issue 696}%
% \begin{macrocode}
\cs_new_protected:Npn \property_record:nN #1#2
{ \property_record:nV {#1} #2 }
Expand All @@ -568,14 +570,11 @@
\cs_generate_variant:Nn \property_record:nn { nV , ee, oo }
\cs_new_protected:Npn \@@_record:nn #1#2
{
\legacy_if:nT { @filesw }
\protected@write \@auxout {}
{
\protected@write \@auxout {}
{
\token_to_str:N \new@label@record
{#1}
{ \clist_map_function:nN {#2} \@@_record_value:n }
}
\token_to_str:N \new@label@record
{#1}
{ \clist_map_function:nN {#2} \@@_record_value:n }
}
}
\cs_generate_variant:Nn \@@_record:nn { e }
Expand Down

0 comments on commit ce13ae5

Please sign in to comment.