texlive[48679] Master/texmf-dist: breqn (16sep18)
commits+karl at tug.org
commits+karl at tug.org
Sun Sep 16 23:37:43 CEST 2018
Revision: 48679
http://tug.org/svn/texlive?view=revision&revision=48679
Author: karl
Date: 2018-09-16 23:37:43 +0200 (Sun, 16 Sep 2018)
Log Message:
-----------
breqn (16sep18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/breqn/README.md
trunk/Master/texmf-dist/doc/latex/breqn/breqn.pdf
trunk/Master/texmf-dist/doc/latex/breqn/flexisym.pdf
trunk/Master/texmf-dist/doc/latex/breqn/mathstyle.pdf
trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx
trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md
trunk/Master/texmf-dist/source/latex/breqn/breqn.ins
trunk/Master/texmf-dist/source/latex/breqn/flexisym.ins
trunk/Master/texmf-dist/source/latex/breqn/mathstyle.ins
Added: trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md 2018-09-16 21:37:43 UTC (rev 48679)
@@ -0,0 +1,10 @@
+# Release notes for the `breqn` packages
+
+* v0.98f (2018/09/14)
+
+ * Insert `\nolinenumbers` inside maths environments if the `lineno` package is loaded.
+ It would be better to insert a line number, but at least with this the document still compiles!
+
+* v0.98e (2017/01/27)
+
+ * Fix in `\mathchoice` to allow use under recent versions of LuaTeX
Property changes on: trunk/Master/texmf-dist/doc/latex/breqn/CHANGES.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/breqn/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/breqn/README.md 2018-09-16 21:36:30 UTC (rev 48678)
+++ trunk/Master/texmf-dist/doc/latex/breqn/README.md 2018-09-16 21:37:43 UTC (rev 48679)
@@ -1,34 +1,39 @@
+
# The BREQN packages
-This is the latest repository for the breqn package, originally developed by Michael J. Downes and later taken over by Morten Høgholm.
+This is the latest repository for the breqn package, originally developed by
+Michael J. Downes and later taken over by Morten Høgholm.
+Will Robertson currently manages the code but without time for major development.
-The version of the package here will be used as the source for current CTAN releases.
+* CTAN URL: <https://ctan.org/pkg/breqn>
+* Feedback/bugs: <https://github.com/wspr/breqn/issues>
+* Change history: [CHANGES.md](./CHANGES.md)
-Internal updates are planned but no major development is expected. Contributors welcome — if you dare.
+## Installation
-Feedback should be directed to the Issue Tracker at:
- <https://github.com/wspr/breqn/issues>
+The `breqn` packages are distributed in the major TeX distributions so manual installation
+is only necessary if you wish to install pre-release versions or contribute to the development
+of the package.
-## Installation
+Individually, running `pdftex` on each dtx file extracts the runtime files.
+As a package, `l3build install` will extract the needed files and install them locally.
-Running TeX on each dtx file extracts the runtime files. See the dtx
-files for details.
-## The code
-### breqn
+# The code
+## breqn
+
The breqn package facilitates automatic line-breaking of displayed
-math expressions. The package was originally developed by Michael
-J. Downes.
+math expressions.
-### flexisym
+## flexisym
This package turns math symbols into macros.
-Is is required by breqn so that breqn can make intelligent decisions
+It is required by breqn so that breqn can make intelligent decisions
with respect to line-breaking and other details.
-### mathstyle
+## mathstyle
Ensures uniform syntax for math subscript (_) and superscript (^)
operations so that they always take exactly one argument.
@@ -36,8 +41,4 @@
as avoiding the many pitfalls of \mathchoice and \mathpalette.
This package is used by flexisym.
-## Release notes
-* v0.98e (2017/01/27)
-
- * Fix in `\mathchoice` to allow use under recent versions of LuaTeX
Modified: trunk/Master/texmf-dist/doc/latex/breqn/breqn.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/breqn/flexisym.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/breqn/mathstyle.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx 2018-09-16 21:36:30 UTC (rev 48678)
+++ trunk/Master/texmf-dist/source/latex/breqn/breqn.dtx 2018-09-16 21:37:43 UTC (rev 48679)
@@ -78,7 +78,7 @@
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-2017 by Will Robertson
+Copyright (C) 2007-2018 by Will Robertson
Copyright (C) 2010-2017 by Joseph Wright
This work may be distributed and/or modified under the
@@ -124,7 +124,7 @@
%</ignore>
%<*driver>
\NeedsTeXFormat{LaTeX2e}
-\ProvidesFile{breqn.drv}[2017/01/27 0.98e breqn]
+\ProvidesFile{breqn.drv}[2018/09/14 0.98f breqn]
\documentclass{ltxdoc}
\CodelineIndex
\EnableCrossrefs
@@ -1457,8 +1457,6 @@
%
% \section{Prelim}
%
-% This package doesn't work with \latex 2.09, nor with other
-% versions of \latex earlier than 1994/12/01.
% \begin{macrocode}
%<*package>
\NeedsTeXFormat{LaTeX2e}
@@ -1466,8 +1464,8 @@
%
% Declare package name and date.
% \begin{macrocode}
-\RequirePackage{expl3}[2009/08/05]
-\ProvidesExplPackage{breqn}{2017/01/27}{0.98e}{Breaking equations}
+\RequirePackage{expl3}
+\ProvidesExplPackage{breqn}{2018/09/14}{0.98f}{Breaking equations}
% \end{macrocode}
% Regrettably, \pkg{breqn} is internally a mess, so we have to take
% some odd steps.
@@ -2041,12 +2039,13 @@
% \begin{macrocode}
%<*trace>
\errorcontextlines=2000\relax
+\typeout{BREQN DEBUGGING MODE ACTIVE}
% \end{macrocode}
%
% \begin{macro}{\breqn at debugmsg}
% Print a debugging message.
% \begin{macrocode}
-\long\def\breqn at debugmsg#1{\GenericInfo{||}{||=\space#1}}
+\long\def\breqn at debugmsg#1{\GenericWarning{||}{||=\space#1}}
% \end{macrocode}
% \end{macro}
%
@@ -2969,6 +2968,15 @@
% 1) modifications supplied by MJD to fix the eaten \cs{paragraph} problem.
% 2) Added \cs{display at setup} here, rather than globally.
%
+% \begin{macro}{\@dmath at start@hook}
+% \begin{macro}{\@dgroup at start@hook}
+% \begin{macrocode}
+\let\@dmath at start@hook\@empty
+\let\@dgroup at start@hook\@empty
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
% \begin{macro}{\dmath}
% \begin{macro}{\enddmath}
% For the \env{dmath} environment we don't want the standard
@@ -2977,6 +2985,7 @@
% for math material. So we call \cs{@optarg} instead.
% \begin{macrocode}
\newenvironment{dmath}{%
+ \@dmath at start@hook
\let\eq at hasNumber\@True \@optarg\@dmath{}}{}
\def\@dmath[#1]{%
%<trace> \breqn at debugmsg{=== DMATH ==================================================}%
@@ -3005,7 +3014,9 @@
% \cs{enddmath} needs to look ahead for punctuation (and
% \cs{qed}?).
% \begin{macrocode}
-\def\enddmath#1{\check at punct@or at qed}
+\def\enddmath#1{%
+ \check at punct@or at qed
+}
\def\end at dmath{%
\gdef\EQ at setwdL{}% Occasionally undefined ???
\eq at capture
@@ -3035,6 +3046,7 @@
% Ah yes, now the lovely \env{dmath*} environment.
% \begin{macrocode}
\newenvironment{dmath*}{%
+ \@dmath at start@hook
\let\eq at hasNumber\@False \@optarg\@dmath{}%
}{}
\@namedef{end at dmath*}{\end at dmath}
@@ -6520,6 +6532,7 @@
% Definition of the \env{dgroup} environment.
% \begin{macrocode}
\newenvironment{dgroup}{%
+ \@dgroup at start@hook
\let\grp at hasNumber\@True\@optarg\@dgroup{}%
}{%
\end at dgroup
@@ -7107,9 +7120,20 @@
% \end{macro}
%
%
+% \section{Compatibility}
%
+% \paragraph{lineno} (or at the very least, allow documents to compile!)
+% \begin{macrocode}
+\AtBeginDocument{%
+ \@ifpackageloaded{lineno}{%
+ \g at addto@macro\@dmath at start@hook{\nolinenumbers}%
+ \g at addto@macro\@dgroup at start@hook{\nolinenumbers}%
+ }{}%
+}
+% \end{macrocode}
%
%
+%
% \section{Wrap-up}
% The usual endinput.
% \begin{macrocode}
Added: trunk/Master/texmf-dist/source/latex/breqn/breqn.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/breqn.ins (rev 0)
+++ trunk/Master/texmf-dist/source/latex/breqn/breqn.ins 2018-09-16 21:37:43 UTC (rev 48679)
@@ -0,0 +1,91 @@
+%%
+%% This is file `breqn.ins',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% breqn.dtx (with options: `install')
+%%
+%% 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-2018 by Will Robertson
+%% Copyright (C) 2010-2017 by Joseph Wright
+%%
+%% 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 your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Will Robertson.
+%%
+%% This work consists of the main source file breqn.dtx
+%% and the derived files
+%% breqn.sty, breqn.pdf, breqn.ins.
+%%
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation: breqn}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+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-2018 by Will Robertson
+Copyright (C) 2010-2017 by Joseph Wright
+
+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 your option) any later
+version. The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainer of this work is Will Robertson.
+
+This work consists of the main source file breqn.dtx
+and the derived files
+ breqn.sty, breqn.pdf, breqn.ins.
+
+\endpreamble
+
+\generate{%
+ \file{breqn.ins}{\from{breqn.dtx}{install}}%
+ \usedir{tex/latex/breqn}%
+ \file{breqn.sty}{\from{breqn.dtx}{package}}%
+}
+
+\obeyspaces
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* breqn.sty}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+
+\endinput
+%%
+%% End of file `breqn.ins'.
Added: trunk/Master/texmf-dist/source/latex/breqn/flexisym.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/flexisym.ins (rev 0)
+++ trunk/Master/texmf-dist/source/latex/breqn/flexisym.ins 2018-09-16 21:37:43 UTC (rev 48679)
@@ -0,0 +1,96 @@
+%%
+%% This is file `flexisym.ins',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% flexisym.dtx (with options: `install')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 1997-2003 by Michael J. Downes
+%% Copyright (C) 2007-2010 by Morten Hoegholm
+%% Copyright (C) 2007-2014 by Lars Madsen
+%% Copyright (C) 2007-2017 by Will Robertson
+%% Copyright (C) 2010-2017 by Joseph Wright
+%%
+%% 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 your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Will Robertson.
+%%
+%% This work consists of the main source file flexisym.dtx
+%% and the derived files
+%% flexisym.sty, flexisym.pdf, flexisym.ins,
+%% cmbase.sym, mathpazo.sym, mathptmx.sym, msabm.sym.
+%%
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation: flexisym}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 1997-2003 by Michael J. Downes
+Copyright (C) 2007-2010 by Morten Hoegholm
+Copyright (C) 2007-2014 by Lars Madsen
+Copyright (C) 2007-2017 by Will Robertson
+Copyright (C) 2010-2017 by Joseph Wright
+
+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 your option) any later
+version. The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainer of this work is Will Robertson.
+
+This work consists of the main source file flexisym.dtx
+and the derived files
+ flexisym.sty, flexisym.pdf, flexisym.ins,
+ cmbase.sym, mathpazo.sym, mathptmx.sym, msabm.sym.
+
+\endpreamble
+
+\generate{%
+ \file{flexisym.ins}{\from{flexisym.dtx}{install}}%
+ \usedir{tex/latex/breqn}%
+ \file{flexisym.sty}{\from{flexisym.dtx}{package}}%
+ \file{cmbase.sym}{\from{flexisym.dtx}{cmbase}}%
+ \file{mathpazo.sym}{\from{flexisym.dtx}{mathpazo}}%
+ \file{mathptmx.sym}{\from{flexisym.dtx}{mathptmx}}%
+ \file{msabm.sym}{\from{flexisym.dtx}{msabm}}%
+}
+
+\obeyspaces
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* flexisym.sty, cmbase.sym, mathpazo.sym, mathptmx.sym, msabm.sym}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+\endinput
+%%
+%% End of file `flexisym.ins'.
Added: trunk/Master/texmf-dist/source/latex/breqn/mathstyle.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/breqn/mathstyle.ins (rev 0)
+++ trunk/Master/texmf-dist/source/latex/breqn/mathstyle.ins 2018-09-16 21:37:43 UTC (rev 48679)
@@ -0,0 +1,90 @@
+%%
+%% This is file `mathstyle.ins',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% mathstyle.dtx (with options: `install')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 1997-2003 by Michael J. Downes
+%% Copyright (C) 2007-2011 by Morten Hoegholm et al
+%% Copyright (C) 2007-2014 by Lars Madsen
+%% Copyright (C) 2007-2017 by Will Robertson
+%% Copyright (C) 2010-2017 by Joseph Wright
+%%
+%% 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 your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Will Robertson.
+%%
+%% This work consists of the main source file mathstyle.dtx
+%% and the derived files
+%% mathstyle.sty, mathstyle.pdf, mathstyle.ins.
+%%
+\input docstrip.tex
+\Msg{************************************************************************}
+\Msg{* Installation for package: mathstyle}
+\Msg{************************************************************************}
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+This is a generated file.
+
+Copyright (C) 1997-2003 by Michael J. Downes
+Copyright (C) 2007-2011 by Morten Hoegholm et al
+Copyright (C) 2007-2014 by Lars Madsen
+Copyright (C) 2007-2017 by Will Robertson
+Copyright (C) 2010-2017 by Joseph Wright
+
+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 your option) any later
+version. The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of
+LaTeX version 2005/12/01 or later.
+
+This work has the LPPL maintenance status "maintained".
+
+The Current Maintainer of this work is Will Robertson.
+
+This work consists of the main source file mathstyle.dtx
+and the derived files
+ mathstyle.sty, mathstyle.pdf, mathstyle.ins.
+
+\endpreamble
+
+\generate{%
+ \file{mathstyle.ins}{\from{mathstyle.dtx}{install}}%
+ \usedir{tex/latex/breqn}%
+ \file{mathstyle.sty}{\from{mathstyle.dtx}{package}}%
+}
+
+\obeyspaces
+\Msg{************************************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* file into a directory searched by TeX:}
+\Msg{*}
+\Msg{* mathstyle.sty}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{*}
+\Msg{************************************************************************}
+
+\endbatchfile
+\endinput
+%%
+%% End of file `mathstyle.ins'.
Modified: trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty 2018-09-16 21:36:30 UTC (rev 48678)
+++ trunk/Master/texmf-dist/tex/latex/breqn/breqn.sty 2018-09-16 21:37:43 UTC (rev 48679)
@@ -11,7 +11,7 @@
%% 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-2017 by Will Robertson
+%% Copyright (C) 2007-2018 by Will Robertson
%% Copyright (C) 2010-2017 by Joseph Wright
%%
%% This work may be distributed and/or modified under the
@@ -31,8 +31,8 @@
%% breqn.sty, breqn.pdf, breqn.ins.
%%
\NeedsTeXFormat{LaTeX2e}
-\RequirePackage{expl3}[2009/08/05]
-\ProvidesExplPackage{breqn}{2017/01/27}{0.98e}{Breaking equations}
+\RequirePackage{expl3}
+\ProvidesExplPackage{breqn}{2018/09/14}{0.98f}{Breaking equations}
\ExplSyntaxOff
\edef\breqnpopcats{%
\catcode\number`\"=\number\catcode`\"
@@ -444,7 +444,10 @@
\define at key{breqn}{cols}{\global\let\@preamble\@empty
\darray at mkpream#1\@percentchar
}
+\let\@dmath at start@hook\@empty
+\let\@dgroup at start@hook\@empty
\newenvironment{dmath}{%
+ \@dmath at start@hook
\let\eq at hasNumber\@True \@optarg\@dmath{}}{}
\def\@dmath[#1]{%
\everydisplay\expandafter{\the\everydisplay \display at setup}%
@@ -458,7 +461,9 @@
\eq at setup@a
\eq at startup
}
-\def\enddmath#1{\check at punct@or at qed}
+\def\enddmath#1{%
+ \check at punct@or at qed
+}
\def\end at dmath{%
\gdef\EQ at setwdL{}% Occasionally undefined ???
\eq at capture
@@ -468,6 +473,7 @@
\if\eq at group \grp at push \else \eq at finish\fi
}
\newenvironment{dmath*}{%
+ \@dmath at start@hook
\let\eq at hasNumber\@False \@optarg\@dmath{}%
}{}
\@namedef{end at dmath*}{\end at dmath}
@@ -1751,6 +1757,7 @@
\let\grp at eqs@numbered\@False
\let\grp at aligned\@True
\newenvironment{dgroup}{%
+ \@dgroup at start@hook
\let\grp at hasNumber\@True\@optarg\@dgroup{}%
}{%
\end at dgroup
@@ -2035,6 +2042,12 @@
\def\nref#1{\@xp\@nref\csname r@#1\endcsname}
\def\@nref#1#2{\ifx\relax#1??\else \@xp\@firstoftwo#1\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtBeginDocument{%
+ \@ifpackageloaded{lineno}{%
+ \g at addto@macro\@dmath at start@hook{\nolinenumbers}%
+ \g at addto@macro\@dgroup at start@hook{\nolinenumbers}%
+ }{}%
+}
\endinput
%%
More information about the tex-live-commits
mailing list