texlive[73157] Master/texmf-dist: changelog (18dec24)
commits+karl at tug.org
commits+karl at tug.org
Wed Dec 18 22:11:46 CET 2024
Revision: 73157
https://tug.org/svn/texlive?view=revision&revision=73157
Author: karl
Date: 2024-12-18 22:11:46 +0100 (Wed, 18 Dec 2024)
Log Message:
-----------
changelog (18dec24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/changelog/changelog.pdf
trunk/Master/texmf-dist/doc/latex/changelog/changelog.tex
trunk/Master/texmf-dist/tex/latex/changelog/changelog.sty
Modified: trunk/Master/texmf-dist/doc/latex/changelog/changelog.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/changelog/changelog.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/changelog/changelog.tex 2024-12-18 21:11:37 UTC (rev 73156)
+++ trunk/Master/texmf-dist/doc/latex/changelog/changelog.tex 2024-12-18 21:11:46 UTC (rev 73157)
@@ -30,7 +30,7 @@
\author{Rebecca Turner\thanks{\email{rbt at sent.as}}}
\title{The \cl\ Package}
-\date{2.5.1 (2024/09/17)}
+\date{2.6.0 (2024/12/18)}
\begin{document}
\maketitle
@@ -143,6 +143,7 @@
\begin{keys}
\key{section}[\bool][true]
Insert a \cs{section} before the changelog?
+ If |section=false|, no \cs{label} will be generated.
\key{sectioncmd}[\m{command}][\cs{section}]
Which sectioning command to use?
\key{title}[\m{txt}][Changelog]
@@ -149,6 +150,8 @@
What to title the changelog section?
\key{label}[\m{label}][sec:changelog]
What to \cs{label} the section?
+ If the \option{label} option is empty (|label=|), no label will be
+ inserted.
\end{keys}
\pagebreak
@@ -345,6 +348,16 @@
This is this package's actual changelog --- not an example!
\begin{changelog}[author=Rebecca Turner <\email{rbt at sent.as}>, section=false]
+\begin{version}[v=2.6.0, date=2024-12-18]
+\changed
+ \item If the \option{label} option for the |changelog| environment is empty,
+ no \cs{label} will be generated for the changelog section.
+
+ The documentation has been clarified to explain that if the
+ \option{section} option is set to |false|, no label will be generated, as
+ labels are meaningless without being attached to a section.
+\end{version}
+
\begin{version}[v=2.5.1, date=2024-09-17]
\fixed
\item Fixed \href{https://github.com/9999years/latex-changelog/issues/13}{a
Modified: trunk/Master/texmf-dist/tex/latex/changelog/changelog.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/changelog/changelog.sty 2024-12-18 21:11:37 UTC (rev 73156)
+++ trunk/Master/texmf-dist/tex/latex/changelog/changelog.sty 2024-12-18 21:11:46 UTC (rev 73157)
@@ -1,5 +1,5 @@
\RequirePackage{expl3}
-\ProvidesExplPackage{changelog}{2024/09/17}{2.5.1}{Typesetting changelogs}
+\ProvidesExplPackage{changelog}{2024/12/18}{2.6.0}{Typesetting changelogs}
% Description: Provides the changelog environment for typesetting changelogs
% License: LPPL 1.3c
% Homepage: https://github.com/9999years/latex-changelog
@@ -205,7 +205,10 @@
\bool_if:NTF \g__changelog_section_bool
{
\exp_after:wN \g__changelog_sectioncmd_tl { \g__changelog_title_tl }
- \exp_after:wN \label { \g__changelog_label_tl }
+ \tl_if_empty:NF \g__changelog_label_tl
+ {
+ \exp_after:wN \label { \tl_use:N \g__changelog_label_tl }
+ }
}
{}
}
More information about the tex-live-commits
mailing list.