From 0df371d9ae601d747ffb97b8526944096fd02b86 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 24 Apr 2020 20:58:38 +0000 Subject: changelog (24apr20) git-svn-id: svn://tug.org/texlive/trunk@54864 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/changelog/README.md | 6 ++- .../texmf-dist/doc/latex/changelog/changelog.pdf | Bin 46076 -> 47093 bytes .../texmf-dist/doc/latex/changelog/changelog.tex | 27 ++++++++++--- Master/texmf-dist/doc/latex/changelog/example.pdf | Bin 0 -> 16753 bytes Master/texmf-dist/doc/latex/changelog/example.tex | 44 +++++++++++++++++++++ .../texmf-dist/doc/latex/changelog/screenshot.png | Bin 0 -> 108064 bytes .../texmf-dist/tex/latex/changelog/changelog.sty | 22 +++++++++-- 7 files changed, 88 insertions(+), 11 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/changelog/example.pdf create mode 100644 Master/texmf-dist/doc/latex/changelog/example.tex create mode 100644 Master/texmf-dist/doc/latex/changelog/screenshot.png diff --git a/Master/texmf-dist/doc/latex/changelog/README.md b/Master/texmf-dist/doc/latex/changelog/README.md index b582ea33de0..93e7c2834ed 100644 --- a/Master/texmf-dist/doc/latex/changelog/README.md +++ b/Master/texmf-dist/doc/latex/changelog/README.md @@ -13,9 +13,11 @@ File | Description changelog.sty | The changelog package changelog.pdf | Documentation (English) changelog.tex | Documentation source -changelog-doc.sty | Documentation styles +example.tex | Example use +example.pdf | Example use (PDF) +screenshot.png | Sample screenshot README.md | This file -LICENSE.md | GNU GPLv3 +LICENSE.txt | LPPL v1.3c [keepachangelog.com]: https://keepachangelog.com/ [changelog]: https://ctan.org/pkg/changelog diff --git a/Master/texmf-dist/doc/latex/changelog/changelog.pdf b/Master/texmf-dist/doc/latex/changelog/changelog.pdf index bc54571d96f..e6d66a6a023 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 22a62221959..c48f26e52af 100644 --- a/Master/texmf-dist/doc/latex/changelog/changelog.tex +++ b/Master/texmf-dist/doc/latex/changelog/changelog.tex @@ -20,7 +20,13 @@ } \makeatother -\setmainfont{Tiempos Text} +\setmainfont{TiemposText}[ + Extension = .otf , + UprightFont = *-Regular , + ItalicFont = *-RegularItalic , + BoldFont = *-Bold , + BoldItalicFont = *-BoldItalic , +] \usepackage{FiraSans} \usepackage{FiraMono} \lstset{basewidth=0.6em} @@ -31,9 +37,9 @@ \begin{description}} {\end{description}} -\author{Rebecca Turner\thanks{Brandeis University; \email{rebeccaturner@brandeis.edu}}} +\author{Rebecca Turner\thanks{Brandeis University; \email{rbt@sent.as}}} \title{The \cl\ Package} -\date{2019/07/06 2.1.0} +\date{2020/04/23 2.2.1} \begin{document} \maketitle @@ -301,7 +307,7 @@ package documentation} and the \href{http://mirrors.ctan.org/macros/latex/required/babel/base/babel.pdf}{\texttt{babel} package documentation} for more information. -If you create a translation, please \href{mailto:637275@gmail.com}{send me +If you create a translation, please \href{mailto:rbt@sent.as}{send me an email} and I'll incorporate the translation into \cl's next release! \section{Contributors}% @@ -311,13 +317,24 @@ an email} and I'll incorporate the translation into \cl's next release! \item[Rebecca Turner] Original implementation. \item[Holger Schieferdecker] Internationalization support and German translations. + \item[David Arnold <\email{dar@xoe.solutions}>] + Support for translating the changelog's section title and Spanish + translations. \end{description} \section{Changelog} This is this package's actual changelog --- not an example! -\begin{changelog}[author=Rebecca Turner, section=false] +\begin{changelog}[author=Rebecca Turner <\email{rbt@sent.as}>, section=false] +\begin{version}[v=2.2.0, date=2020-04-23, + author={David Arnold <\email{dar@xoe.solutions}>}] +\added + \item Support for translating the changelog's section title with + |\DeclareTranslation{Language}{changelog}{...}|. + \item Spanish translations. +\end{version} + \begin{version}[v=2.1.0, date=2019-06-29, author={Holger Schieferdecker}] \added diff --git a/Master/texmf-dist/doc/latex/changelog/example.pdf b/Master/texmf-dist/doc/latex/changelog/example.pdf new file mode 100644 index 00000000000..e1a2316a79a Binary files /dev/null and b/Master/texmf-dist/doc/latex/changelog/example.pdf differ diff --git a/Master/texmf-dist/doc/latex/changelog/example.tex b/Master/texmf-dist/doc/latex/changelog/example.tex new file mode 100644 index 00000000000..ad2272c5b86 --- /dev/null +++ b/Master/texmf-dist/doc/latex/changelog/example.tex @@ -0,0 +1,44 @@ +\documentclass{article} +\usepackage{changelog} +\begin{document} +\begin{changelog}[author=Rebecca Turner, + sectioncmd=\subsection, + title=Example changelog] +\begin{version} +\added + \item Really cool features +\end{version} + +\begin{version}[date=2019-01-23, short] + A version with only a date +\end{version} + +\begin{version}[v=1.1.0, simple] + \item A version with no date +\end{version} + +\begin{version}[v=1.0.1, yanked, simple] + \item A version with a terrible bug +\end{version} + +\begin{version}[v=1.0.0, date=2018-10-26] +\added + \item A cool feature +\changed + \item Some \textsc{api} detail +\deprecated + \item Something that was a bad idea in the first place +\removed + \item Something that was deprecated 3 versions ago +\fixed + \item A bug that would delete files instead of saving them +\security + \item improved with addition of buffer bound checks +\misc + \item A change that doesn't fit into any other category +\end{version} + +\shortversion{v=0.1.0, date=2018-10-19, + changes=Initial beta.} +\end{changelog} +\end{document} diff --git a/Master/texmf-dist/doc/latex/changelog/screenshot.png b/Master/texmf-dist/doc/latex/changelog/screenshot.png new file mode 100644 index 00000000000..549ea27341e Binary files /dev/null and b/Master/texmf-dist/doc/latex/changelog/screenshot.png differ diff --git a/Master/texmf-dist/tex/latex/changelog/changelog.sty b/Master/texmf-dist/tex/latex/changelog/changelog.sty index 491e78d7548..dad913838bc 100644 --- a/Master/texmf-dist/tex/latex/changelog/changelog.sty +++ b/Master/texmf-dist/tex/latex/changelog/changelog.sty @@ -1,9 +1,9 @@ -\ProvidesPackage{changelog}[2019/07/06 2.1.0 Typesetting changelogs] +\ProvidesPackage{changelog}[2020/04/23 2.2.1 Typesetting changelogs] % Description: Provides the changelog environment for typesetting changelogs % License: LPPL 1.3c % Homepage: https://github.com/9999years/latex-changelog % https://ctan.org/pkg/changelog -% Maintainer: Rebecca Turner <637275@gmail.com> +% Maintainer: Rebecca Turner % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -15,7 +15,7 @@ % % This work has the LPPL maintenance status `maintained'. % -% The Current Maintainer of this work is Rebecca Turner <637275@gmail.com>. +% The Current Maintainer of this work is Rebecca Turner . % % This work consists of the files changelog.sty and changelog.tex. @@ -28,6 +28,7 @@ % Fallback translations will be used if there is no translation for % the current document language +\DeclareTranslationFallback{changelog}{Changelog} \DeclareTranslationFallback{changelog-Added}{Added} \DeclareTranslationFallback{changelog-Changed}{Changed} \DeclareTranslationFallback{changelog-Deprecated}{Deprecated} @@ -38,6 +39,7 @@ \DeclareTranslationFallback{changelog-Unreleased}{Unreleased} \DeclareTranslationFallback{changelog-Yanked}{YANKED} % English translations +\DeclareTranslation{English}{changelog}{Changelog} \DeclareTranslation{English}{changelog-Added}{Added} \DeclareTranslation{English}{changelog-Changed}{Changed} \DeclareTranslation{English}{changelog-Deprecated}{Deprecated} @@ -49,6 +51,7 @@ \DeclareTranslation{English}{changelog-Yanked}{YANKED} % German translations % Alternative german translations as comment at the end of the line +\DeclareTranslation{German}{changelog}{\"Anderungsnachweis} \DeclareTranslation{German}{changelog-Added}{Hinzugef\"{u}gt}% Neu \DeclareTranslation{German}{changelog-Changed}{Ge\"{a}ndert} \DeclareTranslation{German}{changelog-Deprecated}{Überholt}% Veraltet @@ -58,6 +61,17 @@ \DeclareTranslation{German}{changelog-Miscellaneous}{Verschiedenes} \DeclareTranslation{German}{changelog-Unreleased}{Unver\"{o}ffentlicht} \DeclareTranslation{German}{changelog-Yanked}{Zur{\"u}ckgezogen} +% Spanish translations +\DeclareTranslation{Spanish}{changelog}{Registro de cambios} +\DeclareTranslation{Spanish}{changelog-Added}{Agregado} +\DeclareTranslation{Spanish}{changelog-Changed}{Cambiado} +\DeclareTranslation{Spanish}{changelog-Deprecated}{Obsoleto} +\DeclareTranslation{Spanish}{changelog-Removed}{Removido} +\DeclareTranslation{Spanish}{changelog-Fixed}{Arreglado} +\DeclareTranslation{Spanish}{changelog-Security}{Seguridad} +\DeclareTranslation{Spanish}{changelog-Miscellaneous}{Miscel{\'a}neo} +\DeclareTranslation{Spanish}{changelog-Unreleased}{No Publicado} +\DeclareTranslation{Spanish}{changelog-Yanked}{REVOCADO} \newif\ifchangelog@versionfirst \newcommand{\changelog@item}[1]{% @@ -91,7 +105,7 @@ \define@cmdkeys{changelog}{sectioncmd, title, label} \define@boolkey{changelog}{section}[true]{} -\presetkeys{changelog}{sectioncmd=\section, title=Changelog, +\presetkeys{changelog}{sectioncmd=\section, title=\GetTranslation{changelog}, label=sec:changelog, section}{} \newenvironment{changelogdescription} -- cgit v1.2.3