diff options
author | Karl Berry <karl@freefriends.org> | 2024-12-18 21:11:46 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-12-18 21:11:46 +0000 |
commit | 7012eb430956987f2148548f2229338748c9f244 (patch) | |
tree | 379c583eed07566af85056b8128f8f70f9e3d06d | |
parent | 2ff65b11454145476011597b3b9aac88926aa88f (diff) |
changelog (18dec24)
git-svn-id: svn://tug.org/texlive/trunk@73157 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/changelog/changelog.pdf | bin | 55176 -> 56132 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/changelog/changelog.tex | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/changelog/changelog.sty | 7 |
3 files changed, 19 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/changelog/changelog.pdf b/Master/texmf-dist/doc/latex/changelog/changelog.pdf Binary files differindex f0e2277664b..1416e15518f 100644 --- a/Master/texmf-dist/doc/latex/changelog/changelog.pdf +++ b/Master/texmf-dist/doc/latex/changelog/changelog.pdf diff --git a/Master/texmf-dist/doc/latex/changelog/changelog.tex b/Master/texmf-dist/doc/latex/changelog/changelog.tex index 9c949501fc6..ced01509ed5 100644 --- a/Master/texmf-dist/doc/latex/changelog/changelog.tex +++ b/Master/texmf-dist/doc/latex/changelog/changelog.tex @@ -30,7 +30,7 @@ \author{Rebecca Turner\thanks{\email{rbt@sent.as}}} \title{The \cl\ Package} -\date{2.5.1 (2024/09/17)} +\date{2.6.0 (2024/12/18)} \begin{document} \maketitle @@ -143,12 +143,15 @@ versions have the same author. \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] 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 @@ an email} and I'll incorporate the translation into \cl's next release! This is this package's actual changelog --- not an example! \begin{changelog}[author=Rebecca Turner <\email{rbt@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 diff --git a/Master/texmf-dist/tex/latex/changelog/changelog.sty b/Master/texmf-dist/tex/latex/changelog/changelog.sty index b58e33479a7..0dc42ab2eb2 100644 --- a/Master/texmf-dist/tex/latex/changelog/changelog.sty +++ b/Master/texmf-dist/tex/latex/changelog/changelog.sty @@ -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 } + } } {} } |