diff options
author | Karl Berry <karl@freefriends.org> | 2020-09-24 20:44:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-09-24 20:44:15 +0000 |
commit | ebcbd05e23bcb74a94c0685591632ca8fb8b9887 (patch) | |
tree | a227bd3de2b2b2c1b16ead5a3a8390c63554e1e4 /Master/texmf-dist/source/latex/breqn | |
parent | 048134fdca06ff07423d480703be9cc2c53c3644 (diff) |
breqn (24sep20)
git-svn-id: svn://tug.org/texlive/trunk@56422 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/breqn')
4 files changed, 39 insertions, 33 deletions
diff --git a/Master/texmf-dist/source/latex/breqn/breqn.dtx b/Master/texmf-dist/source/latex/breqn/breqn.dtx index 10b584bd83a..ce68c555b6b 100644 --- a/Master/texmf-dist/source/latex/breqn/breqn.dtx +++ b/Master/texmf-dist/source/latex/breqn/breqn.dtx @@ -5,6 +5,7 @@ % Copyright (C) 2007-2014 by Lars Madsen % Copyright (C) 2007-2020 by Will Robertson % Copyright (C) 2010-2017 by Joseph Wright +% Copyright (C) 2020-2020 by Ulrike Fischer % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -150,8 +151,8 @@ % % % \title{The \pkg{breqn} package} -% \def\fileversion{0.98j} -% \def\filedate{2020/04/19} +% \def\fileversion{0.98k} +% \def\filedate{2020/09/24} % \date{\pkg{breqn} bundle: \filedate\space\fileversion} % \author{Authors: Michael J. Downes, Morten H\o gholm\\ Maintained by Morten H\o gholm, Will Robertson\\ Feedback: \texttt{https://github.com/wspr/breqn/issues}} % @@ -1376,7 +1377,7 @@ % Declare package name and date. % \begin{macrocode} \RequirePackage{expl3} -\ProvidesExplPackage{breqn}{2020/04/19}{0.98j}{Breaking equations} +\ProvidesExplPackage{breqn}{2020/09/24}{0.98k}{Breaking equations} % \end{macrocode} % Regrettably, \pkg{breqn} is internally a mess, so we have to take % some odd steps. diff --git a/Master/texmf-dist/source/latex/breqn/breqnbundle.ins b/Master/texmf-dist/source/latex/breqn/breqnbundle.ins index 69b303c5e5e..de5c4857866 100644 --- a/Master/texmf-dist/source/latex/breqn/breqnbundle.ins +++ b/Master/texmf-dist/source/latex/breqn/breqnbundle.ins @@ -13,8 +13,9 @@ This is a generated file. Copyright (C) 1997-2003 by Michael J. Downes Copyright (C) 2007-2008 by Morten Hoegholm Copyright (C) 2007-2014 by Lars Madsen +Copyright (C) 2007-2020 by Will Robertson Copyright (C) 2010-2017 by Joseph Wright -Copyright (C) 2007-2019 by Will Robertson +Copyright (C) 2020-2020 by Ulrike Fischer This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either diff --git a/Master/texmf-dist/source/latex/breqn/flexisym.dtx b/Master/texmf-dist/source/latex/breqn/flexisym.dtx index 571ec4a20d3..b827447fc60 100644 --- a/Master/texmf-dist/source/latex/breqn/flexisym.dtx +++ b/Master/texmf-dist/source/latex/breqn/flexisym.dtx @@ -3,8 +3,9 @@ % Copyright (C) 1997-2003 by Michael J. Downes % Copyright (C) 2007-2008 by Morten Hoegholm % Copyright (C) 2007-2014 by Lars Madsen +% Copyright (C) 2007-2020 by Will Robertson % Copyright (C) 2010-2017 by Joseph Wright -% Copyright (C) 2007-2019 by Will Robertson +% Copyright (C) 2020-2020 by Ulrike Fischer % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -78,8 +79,8 @@ % \fi % % \title{The \textsf{flexisym} package} -% \def\fileversion{0.98j} -% \def\filedate{2020/04/19} +% \def\fileversion{0.98k} +% \def\filedate{2020/09/24} % \date{\filedate\space\fileversion} % \author{Authors: Michael J. Downes, Morten H\o gholm\\ Maintained by Morten H\o gholm, Will Robertson\\ Feedback: \texttt{https://github.com/wspr/breqn/issues}} % @@ -97,7 +98,7 @@ % \begin{macrocode} %<*package> \RequirePackage{expl3}[2009/08/05] -\ProvidesExplPackage{flexisym}{2020/04/19}{0.98j}{Make math characters macros} +\ProvidesExplPackage{flexisym}{2020/09/24}{0.98k}{Make math characters macros} \edef\do{% \noexpand\AtEndOfPackage{% @@ -628,9 +629,10 @@ % % We have to remove the assignments from the \cs{AtBeginDocument} hook % as they will cause an error there. +% \changes{v0.98k}{2020/08/24}{Removed the patch as it will break with new LaTeX. Instead +% the mathcodes are set later.} % \begin{macrocode} \@ifpackageloaded{amsmath}{% - \begingroup % \end{macrocode} % Split the contents of \cs{@begindocumenthook} by reading what we % search for as a delimited argument and ensure these two assignments @@ -645,13 +647,6 @@ % needed. We need those additional files anyway for things like % \cs{joinord}. % \begin{macrocode} - \long\def\next#1\mathchardef\std@minus\mathcode`\-\relax - \mathchardef\std@equal\mathcode`\=\relax#2\flexi@stop{% - \toks@{#1#2}% - \xdef\@begindocumenthook{\the\toks@}% - }% - \expandafter\next\@begindocumenthook\flexi@stop - \endgroup }{} % \end{macrocode} % @@ -660,26 +655,34 @@ % mathcode of \texttt{-} being less than 32768. We delay the % definition \cs{AtBeginDocument} in case \pkg{amssymb} hasn't been % loaded yet. +% \changes{v0.98k}{2020/08/24}{Adapted to unicode engines (using definition in amsopn)} % \begin{macrocode} \AtBeginDocument{% -\def\newmcodes@{% - \mathcode `\'39\space - \mathcode `\*42\space - \mathcode `\."613A\space - \ifnum\mathcode`\-=45\space - \else +\ifx\Umathcode\@undefined +\gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% + \ifnum\mathcode`\-=45 \else % \end{macrocode} % The extra check. Don't do anything if \texttt{-} is math active. % \begin{macrocode} \ifnum\mathcode`\-=32768\space \else - \mathchardef \std@minus \mathcode `\-\relax + \mathchardef\std@minus\mathcode`\-\relax + \fi + \fi + \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} +\else +\gdef\newmcodes@{\mathcode`\'39\mathcode`\*42\mathcode`\."613A% + \ifnum\Umathcodenum`\-=45 \else +% \end{macrocode} +% The extra check. Don't do anything if \texttt{-} is math active. +% \begin{macrocode} + \ifnum\Umathcodenum`\-=16777216\space + \else + \Umathcharnumdef\std@minus\Umathcodenum`\-\relax \fi \fi - \mathcode `\-45\space - \mathcode `\/47\space - \mathcode `\:"603A\space\relax -}% + \mathcode`\-45\mathcode`\/47\mathcode`\:"603A\relax} +\fi } % \end{macrocode} % @@ -776,7 +779,7 @@ \DeclareFlexSymbol{:} {Rel}{OT1}{3A} \DeclareFlexSymbol{\colon}{Pun}{OT1}{3A} \DeclareFlexSymbol{;} {Pun}{OT1}{3B} -\DeclareFlexSymbol{=} {Rel}{OT1}{3D} +\AtBeginDocument{\DeclareFlexSymbol{=} {Rel}{OT1}{3D}} \DeclareFlexSymbol{?} {Pun}{OT1}{3F} % \end{macrocode} % \AmS\TeX, and therefore the \pkg{amsmath} package, make the @@ -942,7 +945,7 @@ % Symbols from the 128-character \fn{cmsy} encoding. % \begin{macrocode} \DeclareFlexSymbol{*} {Bin}{bin}{03} % \ast -\DeclareFlexSymbol{-} {Bin}{bin}{00} +\AtBeginDocument{\DeclareFlexSymbol{-} {Bin}{bin}{00}} \DeclareFlexSymbol{|} {Ord}{OMS}{6A} \DeclareFlexSymbol{\aleph} {Ord}{ord}{40} \DeclareFlexSymbol{\Re} {Ord}{ord}{3C} diff --git a/Master/texmf-dist/source/latex/breqn/mathstyle.dtx b/Master/texmf-dist/source/latex/breqn/mathstyle.dtx index 94aad71329b..479b95b91db 100644 --- a/Master/texmf-dist/source/latex/breqn/mathstyle.dtx +++ b/Master/texmf-dist/source/latex/breqn/mathstyle.dtx @@ -3,8 +3,9 @@ % Copyright (C) 1997-2003 by Michael J. Downes % Copyright (C) 2007-2008 by Morten Hoegholm % Copyright (C) 2007-2014 by Lars Madsen +% Copyright (C) 2007-2020 by Will Robertson % Copyright (C) 2010-2017 by Joseph Wright -% Copyright (C) 2007-2019 by Will Robertson +% Copyright (C) 2020-2020 by Ulrike Fischer % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -57,8 +58,8 @@ % \fi % % \title{The \textsf{mathstyle} package} -% \def\fileversion{0.98j} -% \def\filedate{2020/04/19} +% \def\fileversion{0.98k} +% \def\filedate{2020/09/24} % \date{\filedate\quad\fileversion} % \author{Authors: Michael J. Downes, Morten H\o gholm\\ Maintained by Morten H\o gholm, Will Robertson\\ Feedback: \texttt{https://github.com/wspr/breqn/issues}} % @@ -151,7 +152,7 @@ %<*package> \NeedsTeXFormat{LaTeX2e} \RequirePackage{expl3} -\ProvidesExplPackage{mathstyle}{2020/04/19}{0.98j}{Tracking mathstyle implicitly} +\ProvidesExplPackage{mathstyle}{2020/09/24}{0.98k}{Tracking mathstyle implicitly} \ExplSyntaxOff % \end{macrocode} % |