From d8395db550c4f6044f0f3586bbc5263f06444598 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 16 Oct 2020 03:01:02 +0000 Subject: CTAN sync 202010160301 --- macros/latex/contrib/apxproof/README.md | 2 +- macros/latex/contrib/apxproof/apxproof.dtx | 48 ++++++++++++++++----- macros/latex/contrib/apxproof/apxproof.pdf | Bin 561064 -> 563983 bytes macros/unicodetex/latex/polyglossia/README.md | 2 +- .../unicodetex/latex/polyglossia/polyglossia.dtx | 11 ++++- .../unicodetex/latex/polyglossia/polyglossia.pdf | Bin 279264 -> 279219 bytes 6 files changed, 49 insertions(+), 14 deletions(-) (limited to 'macros') diff --git a/macros/latex/contrib/apxproof/README.md b/macros/latex/contrib/apxproof/README.md index d8cef5cda4..f57a89624c 100644 --- a/macros/latex/contrib/apxproof/README.md +++ b/macros/latex/contrib/apxproof/README.md @@ -34,7 +34,7 @@ in any other directory where LaTeX searches for packages. ## License -Copyright © 2016-2019 by Pierre Senellart. +Copyright © 2016-2020 by Pierre Senellart. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at diff --git a/macros/latex/contrib/apxproof/apxproof.dtx b/macros/latex/contrib/apxproof/apxproof.dtx index 2385984fd8..d02bb77435 100644 --- a/macros/latex/contrib/apxproof/apxproof.dtx +++ b/macros/latex/contrib/apxproof/apxproof.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 2016-2019 by Pierre Senellart +% Copyright (C) 2016-2020 by Pierre Senellart % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -24,7 +24,7 @@ % \iffalse %\NeedsTeXFormat{LaTeX2e}[2005/12/01] %\ProvidesPackage{apxproof} -% [2019/10/08 v1.2.0 Automatic proofs in appendix] +% [2020/10/15 v1.2.1 Automatic proofs in appendix] % %<*driver> \documentclass{ltxdoc} @@ -45,7 +45,7 @@ % % \fi % -% \CheckSum{787} +% \CheckSum{813} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -373,7 +373,8 @@ This is a citation in the appendix~\cite{proofsAreHard}. % (\meta{title})''. % \item[\textbackslash|appendixrefname|]\DescribeMacro{\appendixrefname} contains the heading that is displayed before % the bibliography. By default, this is ``References for the -% Appendix''. +% Appendix''. (Note that this command is also defined and used by the +% |memoir| document class.) % \item[\textbackslash|appendixbibliographystyle|]\DescribeMacro{\appendixbibliographystyle} contains the |.bst| bibliography % style that is used in the bibliography in appendix. By default, this is % |alpha|. @@ -430,6 +431,7 @@ This is a citation in the appendix~\cite{proofsAreHard}. % \item \LaTeX{} standard document classes (e.g., |article.cls|) % \item \href{https://www.ctan.org/pkg/koma-script}{KOMA-Script} % (e.g., |scrartcl.cls|, |scrbook.cls|) +% \item \href{https://ctan.org/pkg/memoir}{|memoir.cls|} % \item \href{https://www.acm.org/publications/proceedings-template}{ACM % SIG Proceedings} (e.g., |sig-alternate.cls|, |acmart.cls|) % \item \href{https://www.springer.com/computer/lncs/lncs+authors}{ @@ -466,7 +468,7 @@ This is a citation in the appendix~\cite{proofsAreHard}. % Issues not listed here should be reported to the author. % % \section{License} -% Copyright \textcopyright{} 2016--2019 by Pierre Senellart. +% Copyright \textcopyright{} 2016--2020 by Pierre Senellart. % % This work may be distributed and/or modified under the conditions of the % \LaTeX{} Project Public License, either version 1.3 of this license or (at @@ -609,7 +611,7 @@ This is a citation in the appendix~\cite{proofsAreHard}. % \end{macrocode} % The external \textsf{bibunits} package % is used to add a second bibliography for the appendix material. -% \changes{v1.2.0}{2019/04/17}{Do not load \textsf{binunits} if +% \changes{v1.2.0}{2019/04/17}{Do not load \textsf{bibunits} if % \texttt{bibliography} is set to \texttt{common}} % \begin{macrocode} \RequirePackage{bibunits} @@ -713,6 +715,8 @@ This is a citation in the appendix~\cite{proofsAreHard}. % \begin{macro}{\mainbodyrepeatedtheorem} % \changes{v1.2.0}{2019/09/21}{Configurable repeated theorem command} % \begin{macro}{\appendixrefname} +% \changes{v1.2.1}{2020/10/09}{Fix compatibility with +% \texttt{memoir} document class} % \begin{macro}{\appendixbibliographystyle} % \begin{macro}{\appendixbibliographyprelim} % \begin{macro}{\appendixprelim} @@ -725,7 +729,7 @@ This is a citation in the appendix~\cite{proofsAreHard}. % all modes so that a |\renewcommand| works in all cases. % \begin{macrocode} \newcommand{\mainbodyrepeatedtheorem}{} -\newcommand{\appendixrefname}{References for the Appendix} +\providecommand{\appendixrefname}{References for the Appendix} \newcommand{\appendixbibliographystyle}{alpha} \newcommand{\appendixbibliographyprelim}{} \newcommand{\appendixprelim}{\clearpage\onecolumn} @@ -943,7 +947,15 @@ This is a citation in the appendix~\cite{proofsAreHard}. % Using the functionalities of the \textsf{fancyvrb} package, we define a % custom verbatim environment |axp@VerbatimOut| that writes every line % to the |\axp@proofsfile|. We also use the previous macro to disable active -% characters with the eighth bit set. +% characters with the eighth bit set, and we make sure the catcode of |@| +% is reset for every verbatim environment, in case it is used by the user (e.g., +% as in the \textsf{xypic} package). Finally, as an additional +% precaution, we reset |\FV@CatCodesHook| that is for example set by the +% |commandchars| or |commentchar| option of |\fvset|. +% \changes{v1.2.1}{2020/01/01}{Fix compatibility with +% \textsf{xypic} package} +% \changes{v1.2.1}{2020/10/15}{Fix compatibility with other uses of \textsf{fancyvrb} that set +% \texttt{\textbackslash FV@CatCodesHook}} % \begin{macrocode} \DefineVerbatimEnvironment{axp@VerbatimOut}{axp@VerbatimOut}{} \def\FVB@axp@VerbatimOut{% @@ -956,8 +968,12 @@ This is a citation in the appendix~\cite{proofsAreHard}. \def\FV@ProcessLine{\immediate\write\axp@proofsfile}% \let\FV@FontScanPrep\relax \let\@noligs\relax + \immediate\write\axp@proofsfile{\noexpand\makeatother}% + \def\FV@CatCodesHook{}% \FV@Scan} - \def\FVE@axp@VerbatimOut{\endgroup\@esphack} + \def\FVE@axp@VerbatimOut{% + \immediate\write\axp@proofsfile{\noexpand\makeatletter}% + \endgroup\@esphack} % \end{macrocode} % \end{macro} % \end{macro} @@ -1445,11 +1461,20 @@ This is a citation in the appendix~\cite{proofsAreHard}. % ensure an empty bibliography environment is not produced. % The name of the bibliography is changed to |\appendixrefname|; in most % document classes, it is called |\refname| but it is occasionally -% (|scrartcl|, |scrreprt|) called |\bibname|. +% (|scrartcl|, |scrreprt|) called |\bibname|. An ad-hoc test is added +% to fix a conflict with the \textsf{natbib} package which redefines +% |bibcite| at the end of the document. % \changes{v1.0.6}{2018/05/10}{Deal with document classes where the % bibliography is called \texttt{\textbackslash bibname}} +% \changes{v1.2.1}{2020/02/27}{Ad hoc fix for \textsf{natbib} +% package conflict} % \begin{macrocode} \AtEndDocument{ + \ifdefined\NAT@testdef + \renewcommand\bibcite[2]{% + \global\@namedef{b@#1\@extra@binfo}{#2}% + } + \fi \appendixprelim \appendix \ifthenelse{\equal{\axp@bibliography}{separate}}{ @@ -1469,6 +1494,9 @@ This is a citation in the appendix~\cite{proofsAreHard}. \appendixbibliographyprelim \putbib \end{bibunit} + \ifdefined\NAT@testdef + \let\bibcite\NAT@testdef + \fi }{} } % \end{macrocode} diff --git a/macros/latex/contrib/apxproof/apxproof.pdf b/macros/latex/contrib/apxproof/apxproof.pdf index 6ae1a640f6..d4123c8d11 100644 Binary files a/macros/latex/contrib/apxproof/apxproof.pdf and b/macros/latex/contrib/apxproof/apxproof.pdf differ diff --git a/macros/unicodetex/latex/polyglossia/README.md b/macros/unicodetex/latex/polyglossia/README.md index 780c3929cc..3510cd2d61 100644 --- a/macros/unicodetex/latex/polyglossia/README.md +++ b/macros/unicodetex/latex/polyglossia/README.md @@ -1,4 +1,4 @@ -# THE POLYGLOSSIA PACKAGE v1.50 +# THE POLYGLOSSIA PACKAGE v1.50a ## Multilingual typesetting with XeLaTeX and LuaLaTeX This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX. diff --git a/macros/unicodetex/latex/polyglossia/polyglossia.dtx b/macros/unicodetex/latex/polyglossia/polyglossia.dtx index d8c35b3242..bcc694b3bc 100644 --- a/macros/unicodetex/latex/polyglossia/polyglossia.dtx +++ b/macros/unicodetex/latex/polyglossia/polyglossia.dtx @@ -8,7 +8,7 @@ \iffalse % %<*README> -# THE POLYGLOSSIA PACKAGE v1.50 +# THE POLYGLOSSIA PACKAGE v1.50a ## Multilingual typesetting with XeLaTeX and LuaLaTeX This package provides an alternative to Babel for users of XeLaTeX and LuaLaTeX. @@ -2686,7 +2686,7 @@ to track the issues and follow progress. % \subsection{polyglossia.sty} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{polyglossia}[2020/10/09 v1.50 +\ProvidesPackage{polyglossia}[2020/10/15 v1.50a Modern multilingual typesetting with XeLaTeX and LuaLaTeX] \RequirePackage{etoolbox} \RequirePackage{makecmds} @@ -20435,6 +20435,7 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % Russian needs trailing dots in all headings \def\xpg@save@autodot{} \ifdef{\KOMAScript}{% + \providecommand*\autodot{}% \let\xpg@save@autodot\autodot% } @@ -24996,6 +24997,12 @@ polyglossia.newloader_loaded_languages = newloader_loaded_languages % % \iffalse %<*Changelog> +1.50a (15-10-2020) + +Bug fixes: + + * Assure \autodot is defined with \KOMAScript in Russian. + 1.50 (09-10-2020) New features: diff --git a/macros/unicodetex/latex/polyglossia/polyglossia.pdf b/macros/unicodetex/latex/polyglossia/polyglossia.pdf index 64a81bfe41..9477b7f13d 100644 Binary files a/macros/unicodetex/latex/polyglossia/polyglossia.pdf and b/macros/unicodetex/latex/polyglossia/polyglossia.pdf differ -- cgit v1.2.3