From 7a7be7eaa67109eac37916ea48662c24ddc570d0 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 25 Apr 2020 03:01:16 +0000 Subject: CTAN sync 202004250301 --- macros/latex/contrib/changelog/README.md | 6 +- macros/latex/contrib/changelog/changelog.pdf | Bin 46076 -> 47093 bytes macros/latex/contrib/changelog/changelog.sty | 22 ++++- macros/latex/contrib/changelog/changelog.tex | 27 +++++- macros/latex/contrib/changelog/example.pdf | Bin 0 -> 16753 bytes macros/latex/contrib/changelog/example.tex | 44 +++++++++ macros/latex/contrib/changelog/screenshot.png | Bin 0 -> 108064 bytes macros/latex/contrib/embedfile/embedfile.dtx | 19 ++-- macros/latex/contrib/embedfile/embedfile.pdf | Bin 397083 -> 397270 bytes macros/latex/contrib/willowtreebook/README | 4 +- .../contrib/willowtreebook/willowtreebook.cls | 104 +++------------------ .../contrib/willowtreebook/willowtreebook.pdf | Bin 13965747 -> 13983793 bytes .../contrib/willowtreebook/willowtreebook.tex | 37 ++++++-- 13 files changed, 147 insertions(+), 116 deletions(-) create mode 100644 macros/latex/contrib/changelog/example.pdf create mode 100644 macros/latex/contrib/changelog/example.tex create mode 100644 macros/latex/contrib/changelog/screenshot.png (limited to 'macros/latex') diff --git a/macros/latex/contrib/changelog/README.md b/macros/latex/contrib/changelog/README.md index b582ea33de..93e7c2834e 100644 --- a/macros/latex/contrib/changelog/README.md +++ b/macros/latex/contrib/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/macros/latex/contrib/changelog/changelog.pdf b/macros/latex/contrib/changelog/changelog.pdf index bc54571d96..e6d66a6a02 100644 Binary files a/macros/latex/contrib/changelog/changelog.pdf and b/macros/latex/contrib/changelog/changelog.pdf differ diff --git a/macros/latex/contrib/changelog/changelog.sty b/macros/latex/contrib/changelog/changelog.sty index 491e78d754..dad913838b 100644 --- a/macros/latex/contrib/changelog/changelog.sty +++ b/macros/latex/contrib/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} diff --git a/macros/latex/contrib/changelog/changelog.tex b/macros/latex/contrib/changelog/changelog.tex index 22a6222195..c48f26e52a 100644 --- a/macros/latex/contrib/changelog/changelog.tex +++ b/macros/latex/contrib/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/macros/latex/contrib/changelog/example.pdf b/macros/latex/contrib/changelog/example.pdf new file mode 100644 index 0000000000..e1a2316a79 Binary files /dev/null and b/macros/latex/contrib/changelog/example.pdf differ diff --git a/macros/latex/contrib/changelog/example.tex b/macros/latex/contrib/changelog/example.tex new file mode 100644 index 0000000000..ad2272c5b8 --- /dev/null +++ b/macros/latex/contrib/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/macros/latex/contrib/changelog/screenshot.png b/macros/latex/contrib/changelog/screenshot.png new file mode 100644 index 0000000000..549ea27341 Binary files /dev/null and b/macros/latex/contrib/changelog/screenshot.png differ diff --git a/macros/latex/contrib/embedfile/embedfile.dtx b/macros/latex/contrib/embedfile/embedfile.dtx index dbdfbaeafc..aed35ec760 100644 --- a/macros/latex/contrib/embedfile/embedfile.dtx +++ b/macros/latex/contrib/embedfile/embedfile.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % File: embedfile.dtx -% Version: 2020-04-14 v2.10 +% Version: 2020-04-24 v2.11 % Info: Embed files into PDF % % Copyright (C) @@ -89,7 +89,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: embedfile 2020-04-14 v2.10 Embed files into PDF (HO)} +\Msg{* Package: embedfile 2020-04-24 v2.11 Embed files into PDF (HO)} \Msg{************************************************************************} \keepsilent @@ -101,7 +101,7 @@ This is a generated file. Project: embedfile -Version: 2020-04-14 v2.10 +Version: 2020-04-24 v2.11 Copyright (C) 2006-2011 Heiko Oberdiek @@ -179,7 +179,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{embedfile.drv}% - [2020-04-14 v2.10 Embed files into PDF (HO)]% + [2020-04-24 v2.11 Embed files into PDF (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] \begin{document} @@ -193,7 +193,7 @@ and the derived files % \GetFileInfo{embedfile.drv} % % \title{The \xpackage{embedfile} package} -% \date{2020-04-14 v2.10} +% \date{2020-04-24 v2.11} % \author{Heiko Oberdiek\thanks % {Please report any issues at \url{https://github.com/ho-tex/embedfile/issues}}} % @@ -623,7 +623,7 @@ You need Acrobat Reader 8 or higher. %<*dtxattach> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{dtx-attach} - [2020-04-14 v2.10 Embed \string\jobname.dtx (HO)]% + [2020-04-24 v2.11 Embed \string\jobname.dtx (HO)]% \RequirePackage{embedfile}[2019/12/03] \embedfile[% stringmethod=escape,% @@ -714,7 +714,7 @@ You need Acrobat Reader 8 or higher. \fi \expandafter\x\csname ver@embedfile.sty\endcsname \ProvidesPackage{embedfile}% - [2020-04-14 v2.10 Embed files into PDF (HO)]% + [2020-04-24 v2.11 Embed files into PDF (HO)]% % \end{macrocode} % % \subsection{Catcodes} @@ -1190,7 +1190,7 @@ You need Acrobat Reader 8 or higher. \else\ifx\EmFi@type\EmFi@S@creationdate CreationDate% \else\ifx\EmFi@type\EmFi@S@size Size% \else S% - \fi\fi\fi\fi\fi\fi\fi + \fi\fi\fi\fi\fi\fi\fi\fi /N(\EmFi@title)% \EmFi@@order{\EmFi@order}% \ifEmFi@visible @@ -1966,6 +1966,9 @@ You need Acrobat Reader 8 or higher. % \item Fix issue \#4, the value of afrelationship should not be % converted but name escaped. % \end{Version} +% \begin{Version}{2020-04-24 v2.11} +% \item Added a missing fi. +% \end{Version} % \end{History} % % \PrintIndex diff --git a/macros/latex/contrib/embedfile/embedfile.pdf b/macros/latex/contrib/embedfile/embedfile.pdf index 66682ebd9f..76d25b9e45 100644 Binary files a/macros/latex/contrib/embedfile/embedfile.pdf and b/macros/latex/contrib/embedfile/embedfile.pdf differ diff --git a/macros/latex/contrib/willowtreebook/README b/macros/latex/contrib/willowtreebook/README index fa86ae90f3..b1991b8328 100644 --- a/macros/latex/contrib/willowtreebook/README +++ b/macros/latex/contrib/willowtreebook/README @@ -1,6 +1,6 @@ Willow Tree Book Class -v1.0 -22 April 2020 +v1.01 +24 April 2020 Authors: Ben McKay diff --git a/macros/latex/contrib/willowtreebook/willowtreebook.cls b/macros/latex/contrib/willowtreebook/willowtreebook.cls index 61964a97fb..28ea7bbc99 100644 --- a/macros/latex/contrib/willowtreebook/willowtreebook.cls +++ b/macros/latex/contrib/willowtreebook/willowtreebook.cls @@ -1,31 +1,21 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{willowtreebook}[2020/04/22 Willow Tree book LaTeX class v1.0] +\ProvidesClass{willowtreebook}[2020/04/24 Willow Tree Book LaTeX class v1.01] \DeclareOption{ContainsChinese}{\def\ChineseTextInThisDocument{}} -\DeclareOption*{% -\PassOptionsToClass{\CurrentOption}{article}% -} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{memoir}} \ProcessOptions\relax - \LoadClass{memoir} - \RequirePackage{xparse} - -\def\emptystring{} - -\edef\mckaybook@title{\emptystring} -\edef\mckaybook@subtitle{\emptystring} -\edef\mckaybook@author{\emptystring} -\edef\mckaybook@bibliography{\emptystring} -\edef\mckaybook@colophon{This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.} - +\def\mckaybook@title{} +\def\mckaybook@subtitle{} +\def\mckaybook@author{} +\def\mckaybook@bibliography{} +\def\mckaybook@colophon{This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.} \NewDocumentCommand\Title{m}{\global\def\mckaybook@title{#1}} \NewDocumentCommand\Subtitle{m}{\global\def\mckaybook@subtitle{#1}} \NewDocumentCommand\Author{m}{\global\def\mckaybook@author{#1}} \NewDocumentCommand\BibliographyFile{m}{\global\def\mckaybook@bibliography{#1}} \NewDocumentCommand\Colophon{m}{\global\def\mckaybook@colophon{#1}} - % For handling names like Benjamin McKay, where the letter c should be raised up, type in as Benjamin \scotsMc{}Kay. -\makeatletter \DeclareRobustCommand{\scotsMc}{\scotsMcx{c}} \DeclareRobustCommand{\scotsMC}{\scotsMcx{\textsc{c}}} \DeclareRobustCommand{\scotsMcx}[1]{% @@ -38,8 +28,6 @@ \expandafter\def\expandafter\@uclclist\expandafter{% \@uclclist\scotsMc\scotsMC } -\makeatother - \RequirePackage{etex} \RequirePackage{newunicodechar} \RequirePackage[utf8]{inputenc} % Default input file encoding @@ -49,7 +37,6 @@ \NewDocumentCommand\Chinese{m}{\begin{CJK*}{UTF8}{gbsn}#1\end{CJK*}} \else \fi - \RequirePackage[T1]{fontenc} \RequirePackage{lmodern} \RequirePackage{isomath} @@ -72,12 +59,10 @@ shrink=10]{microtype} \RequirePackage{braket} \RequirePackage{mathtools} \mathtoolsset{showonlyrefs,showmanualtags,centercolon,mathic} - % If we need more room between rows of matrices and arrays, we can write % \begin{pmatrix}[1.5] % instead of % \begin{pmatrix} -\makeatletter \RenewDocumentCommand\env@matrix{O{\arraystretch}} {% \edef\arraystretch{#1}% @@ -85,15 +70,12 @@ shrink=10]{microtype} \let\@ifnextchar\new@ifnextchar \array{*\c@MaxMatrixCols c} }% -\makeatother \NewDocumentCommand\tallmatrix{}{1.5} - \RequirePackage{varioref} \RequirePackage{longtable} \RequirePackage{multicol} \setmarginnotes{2em}{3cm}{.5cm} - -% Indices +%.......Indices \newcommand{\NotationIndexName}{List of notation} \makeindex \makeglossary[not] @@ -123,7 +105,6 @@ shrink=10]{microtype} \ifnum\value{page}<10 0\fi% \arabic{page}% }%% - \newcounter{howmany@notation} \setcounter{howmany@notation}{0} \newcommand{\Notation}[3]%% @@ -131,7 +112,6 @@ shrink=10]{microtype} {\glossary[not](\paddedpagenumber){\(#2\)}{#3}% \stepcounter{howmany@notation}% } - \newcounter{howmany@indexentries} \setcounter{howmany@indexentries}{0} \newcommand{\SubIndex}[1]% @@ -168,7 +148,6 @@ shrink=10]{microtype} } \newcommand{\ceilForNotationIndex}[1]{\lcl{#1}\rcl} \newcommand{\floorForNotationIndex}[1]{\lflr{#1}\rflr} - % For the subject index: % Example: % \define{interest rate} @@ -184,7 +163,6 @@ shrink=10]{microtype} %% PDF Output \ifpdf \pdfoutput=1 - \makeatletter \RequirePackage[plainpages=false, hyperfigures, pdftitle={\mckaybook@title}, @@ -196,7 +174,6 @@ shrink=10]{microtype} pagebackref, pdftex] {hyperref} - \makeatother \RequirePackage{memhfixc} % Hyperref uses very bright colours to highlight links. Change them: \RequirePackage[svgnames]{xcolor} @@ -208,7 +185,6 @@ shrink=10]{microtype} citecolor={dark-blue}, urlcolor={medium-blue} } \fi - \newcommand{\idxmark}[1]{#1\markboth{#1}{#1}} \newcommand{\doidxbookmark}[1]{{\def\@tempa{Symbols}\def\@tempb{#1}% \ifx\@tempa\@tempb % @@ -221,10 +197,8 @@ Analphabetics \pdfbookmark[0]{#1}{#1-idx}% \fi% \vskip\onelineskip\par}} - \newcommand\doglobookmark[1]{% }% - %......Figures \newcommand{\stdFigSize}{1in} \newsubfloat{figure} % Memoir class, instead of subfigure class. @@ -236,9 +210,7 @@ Analphabetics \captionnamefont{\scriptsize} \captiontitlefont{\scriptsize} \newcommand{\heading}{\sffamily} - \newcommand{\chapterSummary}[1]{{\small{#1}}\vspace{0.5cm}\par\noindent} - \makechapterstyle{bobo}{% \aliaspagestyle{part}{empty} \renewcommand{\partnamefont}{\raggedleft\normalfont\huge\heading} @@ -256,45 +228,35 @@ Analphabetics \renewcommand*{\chaptitlefont}{\Large\heading} \renewcommand*{\printchaptertitle}[1]{% \centering\smallcolouredbox\chaptitlefont ##1}} - \chapterstyle{bobo} - \setsecheadstyle{\large\heading\raggedright} \setsubsecheadstyle{\heading\raggedright} \setsubsubsecheadstyle{\heading\raggedright} \setheadfoot{2\onelineskip}{3\onelineskip} - \newcommand{\optionalSection}[1]% {%% \section{#1} {\small{This section can be omitted without loss of continuity.}}% \medskip\par\noindent% }%% - %......Table of contents % depth of numbering of sectioning commands: \setsecnumdepth{chapter} \maxsecnumdepth{chapter} %% depth of table of contents: \setcounter{tocdepth}{0} - \RenewDocumentCommand\cftpartfont{}{\heading\small} \RenewDocumentCommand\cftpartpagefont{}{\normalfont\small} - \RenewDocumentCommand\cftchapterfont{}{\heading\small} \RenewDocumentCommand\cftchapterpagefont{}{\normalfont\small} - \setlength{\cftbeforechapterskip}{3pt} \RenewDocumentCommand\cftchapterleader{}{\quad} \setpnumwidth{1em} \RenewDocumentCommand\cftchapterafterpnum{}{\cftparfillskip} - \setlength{\cftbeforepartskip}{10pt} \RenewDocumentCommand\cftpartleader{}{\quad} \setpnumwidth{1em} \RenewDocumentCommand\cftpartafterpnum{}{\cftparfillskip} - - %......Title page \pretitle{\begin{center}\HUGE} \posttitle{\end{center}} @@ -302,11 +264,9 @@ Analphabetics \postauthor{\end{center}} \predate{\begin{center}} \postdate{\end{center}} - \usepackage{tcolorbox} \tcbuselibrary{breakable} \tcbuselibrary{skins} - %......Theorem Styles %\newtheoremstyle{RegularStyle}% name % {}% Space above, empty = `usual value' @@ -324,9 +284,8 @@ Analphabetics \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{proposition}[theorem]{Proposition} - +%.......Colours \colorlet{exampleBackgroundColour}{gray!16} - \newtcolorbox{example}{% enhanced,% breakable,% @@ -364,7 +323,6 @@ before upper={\parindent15pt\noindent}% \begin{itemize}}% {\end{itemize}% \end{example}} - % In the middle of an example, the background color is not white. If you need a white background to put an image on it, it looks best to use an imageborderinexample. \definecolor{image-border-color}{gray}{.975} \NewDocumentCommand\imageborderinexample{m}{\begin{center}\tcbox[colframe=image-border-color, colback=white] @@ -372,8 +330,6 @@ before upper={\parindent15pt\noindent}% \NewDocumentCommand\includegraphicsinexample{om}% {\IfValueTF{#1}{\imageborderinexample{\includegraphics[#1]{#2}}}{\imageborderinexample{\includegraphics{#2}}}} \NewDocumentCommand\inputinexample{m}{\imageborderinexample{\input{#1}}} - - %......Problems % To define a new problem, use: % \begin{problem}{