From 59ac7a1680db36bcf85d983ef9c6a98384b47ce5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 7 Nov 2018 22:18:15 +0000 Subject: changelog (7nov18) git-svn-id: svn://tug.org/texlive/trunk@49100 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/changelog/README.md | 12 +++++++++++- .../texmf-dist/doc/latex/changelog/changelog.pdf | Bin 260915 -> 260697 bytes .../texmf-dist/doc/latex/changelog/changelog.tex | 3 ++- .../texmf-dist/tex/latex/changelog/changelog.sty | 9 +++++++-- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/Master/texmf-dist/doc/latex/changelog/README.md b/Master/texmf-dist/doc/latex/changelog/README.md index 017eaafebe6..f74d28c16f2 100644 --- a/Master/texmf-dist/doc/latex/changelog/README.md +++ b/Master/texmf-dist/doc/latex/changelog/README.md @@ -8,7 +8,7 @@ Inspired by [keepachangelog.com]. File | Description -----------------------------|------------------------------- -changelog.sty | The brandeis-problemset document class +changelog.sty | The changelog package changelog.pdf | Documentation (English) changelog.tex | Documentation source changelog-doc.sty | Documentation styles @@ -17,6 +17,10 @@ LICENSE.md | GNU GPLv3 ## Example + \documentclass{article} + \usepackage[color]{changelog} + \begin{document} + \begin{changelog}[author=Rebecca Turner] \begin{version} \added Really cool features @@ -47,4 +51,10 @@ LICENSE.md | GNU GPLv3 changes=Initial beta.} \end{changelog} + \end{document} + +Which renders roughly as: + +![Rendered changelog](screenshot.png) + [keepachangelog.com]: https://keepachangelog.com/ diff --git a/Master/texmf-dist/doc/latex/changelog/changelog.pdf b/Master/texmf-dist/doc/latex/changelog/changelog.pdf index acd1b0c8c61..d5187c65e46 100644 Binary files a/Master/texmf-dist/doc/latex/changelog/changelog.pdf and b/Master/texmf-dist/doc/latex/changelog/changelog.pdf differ diff --git a/Master/texmf-dist/doc/latex/changelog/changelog.tex b/Master/texmf-dist/doc/latex/changelog/changelog.tex index c9dc5639d00..71ee96584ec 100644 --- a/Master/texmf-dist/doc/latex/changelog/changelog.tex +++ b/Master/texmf-dist/doc/latex/changelog/changelog.tex @@ -2,7 +2,7 @@ \usepackage{changelog-doc} \author{Rebecca Turner\thanks{Brandeis University; \email{rebeccaturner@brandeis.edu}}} \title{The \cl\ Package} -\date{2018-10-26} +\date{2018-11-06} \begin{document} \maketitle @@ -280,6 +280,7 @@ Which is produced with: This is this package's actual changelog --- not an example! \begin{changelog}[author=Rebecca Turner, section=false] +\shortversion{v=0.3.0, date=2018-11-06, changes=Added proper dependencies} \shortversion{v=0.2.1, date=2018-10-26, changes=Documented \option{yanked} option} \shortversion{v=0.2.0, date=2018-10-26, changes=First stable release} diff --git a/Master/texmf-dist/tex/latex/changelog/changelog.sty b/Master/texmf-dist/tex/latex/changelog/changelog.sty index c28b37c146c..79830d82a7e 100644 --- a/Master/texmf-dist/tex/latex/changelog/changelog.sty +++ b/Master/texmf-dist/tex/latex/changelog/changelog.sty @@ -1,10 +1,14 @@ -\ProvidesPackage{changelog}[2018-10-26 0.2.1 Typesetting changelogs] +\ProvidesPackage{changelog}[2018-11-06 0.3.0 Typesetting changelogs] % Description: Provides the changelog environment for typesetting changelogs % License: GPL-3.0 % Homepage: https://github.com/9999years/latex-changelog % https://ctan.org/pkg/changelog % Maintainer: Rebecca Turner <637275@gmail.com> +\RequirePackage{xparse} +\RequirePackage{xkeyval} +\RequirePackage{kvoptions} + \newif\ifchangelog@color\changelog@colorfalse \DeclareOption{color}{\changelog@colortrue} \ProcessOptions @@ -30,7 +34,7 @@ } - \newcommand{\changelogyanked}{{\color{ChangelogSecurity}\fbox{YANKED}}} + \newcommand{\changelogyanked}{{\color{ChangelogSecurity}\fbox{\textbf{YANKED}}}} \else \newcommand{\@addversionshorthands}{ \newcommand{\added} {\item Added\ } @@ -40,6 +44,7 @@ \newcommand{\fixed} {\item Fixed\ } \newcommand{\security} {\item Security\ } } + \newcommand{\changelogyanked}{\fbox{\textbf{YANKED}}} \fi \define@cmdkeys{version}{author, version, date, changes} -- cgit v1.2.3