Skip to content

Commit

Permalink
Fix tagging for tex files
Browse files Browse the repository at this point in the history
This fixes a regression introduced in ecccd76 (Avoid code duplicate in tagging
routine, 2023-12-11) that made tex files in `./l3kernel/doc` not tagged.
  • Loading branch information
muzimuzhi authored and josephwright committed Feb 15, 2024
1 parent 132e40a commit ea6518f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions l3kernel/build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ function update_tag_extra(file,content,tagname,tagdate)
content = string.gsub(content,
"\n\\def\\ExplFileDate{" .. iso .. "}%%\n",
"\n\\def\\ExplFileDate{" .. tagname .. "}%%\n")
elseif string.match(file,"%.tex$") then
content = string.gsub(content,
"\n\\date{Released " .. iso .. "}\n",
"\n\\date{Released " .. tagname .. "}\n")
end
return(content)
end
Expand Down
2 changes: 1 addition & 1 deletion l3kernel/doc/interface3.tex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
{latex-team@latex-project.org}%
}%
}
\date{Released 2023-12-08}
\date{Released 2024-02-13}

\pagenumbering{roman}
\maketitle
Expand Down
2 changes: 1 addition & 1 deletion l3kernel/doc/l3styleguide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{latex-team@latex-project.org}%
}%
}
\date{Released 2023-12-08}
\date{Released 2024-02-13}

\begin{document}

Expand Down
2 changes: 1 addition & 1 deletion l3kernel/doc/l3syntax-changes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{latex-team@latex-project.org}%
}%
}
\date{Released 2023-12-08}
\date{Released 2024-02-13}

\newcommand{\TF}{\textit{(TF)}}

Expand Down
2 changes: 1 addition & 1 deletion l3kernel/doc/l3term-glossary.tex
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{latex-team@latex-project.org}%
}%
}
\date{Released 2023-12-08}
\date{Released 2024-02-13}

\newcommand{\TF}{\textit{(TF)}}

Expand Down
2 changes: 1 addition & 1 deletion l3kernel/doc/source3.tex
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
{latex-team@latex-project.org}%
}%
}
\date{Released 2023-12-08}
\date{Released 2024-02-13}

\pagenumbering{roman}
\maketitle
Expand Down

0 comments on commit ea6518f

Please sign in to comment.