summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/breqn
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-09-25 03:01:58 +0000
committerNorbert Preining <norbert@preining.info>2020-09-25 03:01:58 +0000
commit56c9134f4aa02292ed17e726efd8e493b90e6011 (patch)
tree9452a2e5c356e19640c070996f3ed92dfb9817e8 /macros/latex/contrib/breqn
parent486c71c11d7b17935ee153f1eb3fac44dea5a7db (diff)
CTAN sync 202009250301
Diffstat (limited to 'macros/latex/contrib/breqn')
-rw-r--r--macros/latex/contrib/breqn/CHANGES.md5
-rw-r--r--macros/latex/contrib/breqn/breqn.dtx7
-rw-r--r--macros/latex/contrib/breqn/breqn.pdfbin662197 -> 661840 bytes
-rw-r--r--macros/latex/contrib/breqn/breqnbundle.ins3
-rw-r--r--macros/latex/contrib/breqn/flexisym.dtx53
-rw-r--r--macros/latex/contrib/breqn/flexisym.pdfbin286432 -> 285950 bytes
-rw-r--r--macros/latex/contrib/breqn/mathstyle.dtx9
-rw-r--r--macros/latex/contrib/breqn/mathstyle.pdfbin187035 -> 186678 bytes
8 files changed, 44 insertions, 33 deletions
diff --git a/macros/latex/contrib/breqn/CHANGES.md b/macros/latex/contrib/breqn/CHANGES.md
index c3d8781a5d..26d5849594 100644
--- a/macros/latex/contrib/breqn/CHANGES.md
+++ b/macros/latex/contrib/breqn/CHANGES.md
@@ -1,5 +1,9 @@
# Release notes for the `breqn` packages
+## v0.98k (2020/09/24)
+
+ * Update patch code for new 2e kernel (thanks Ulrike)
+
## v0.98j (2020/04/19)
@@ -12,6 +16,7 @@
(This was originally just a quick fix of the value of `\\mathstyle` within double
subscripts or superscripts)
+
## v0.98i (2020/02/18)
* Fix clash with new version of `babel` around use of the generic `\\@elt` command.
diff --git a/macros/latex/contrib/breqn/breqn.dtx b/macros/latex/contrib/breqn/breqn.dtx
index 10b584bd83..ce68c555b6 100644
--- a/macros/latex/contrib/breqn/breqn.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/breqn/breqn.pdf b/macros/latex/contrib/breqn/breqn.pdf
index 7f4ccad37c..5db6488b0b 100644
--- a/macros/latex/contrib/breqn/breqn.pdf
+++ b/macros/latex/contrib/breqn/breqn.pdf
Binary files differ
diff --git a/macros/latex/contrib/breqn/breqnbundle.ins b/macros/latex/contrib/breqn/breqnbundle.ins
index 69b303c5e5..de5c485786 100644
--- a/macros/latex/contrib/breqn/breqnbundle.ins
+++ b/macros/latex/contrib/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/macros/latex/contrib/breqn/flexisym.dtx b/macros/latex/contrib/breqn/flexisym.dtx
index 571ec4a20d..b827447fc6 100644
--- a/macros/latex/contrib/breqn/flexisym.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/breqn/flexisym.pdf b/macros/latex/contrib/breqn/flexisym.pdf
index 69009a85d8..f48961bd2a 100644
--- a/macros/latex/contrib/breqn/flexisym.pdf
+++ b/macros/latex/contrib/breqn/flexisym.pdf
Binary files differ
diff --git a/macros/latex/contrib/breqn/mathstyle.dtx b/macros/latex/contrib/breqn/mathstyle.dtx
index 94aad71329..479b95b91d 100644
--- a/macros/latex/contrib/breqn/mathstyle.dtx
+++ b/macros/latex/contrib/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}
%
diff --git a/macros/latex/contrib/breqn/mathstyle.pdf b/macros/latex/contrib/breqn/mathstyle.pdf
index 3400c7a99c..62fe0c3bd7 100644
--- a/macros/latex/contrib/breqn/mathstyle.pdf
+++ b/macros/latex/contrib/breqn/mathstyle.pdf
Binary files differ