summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/lualatex/lualatex-math
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-19 21:15:05 +0000
committerKarl Berry <karl@freefriends.org>2016-04-19 21:15:05 +0000
commited28050639de6674b72251ecd15b4cce0133cb83 (patch)
tree9beb6add2bde805d6d3e9b1cd417e8d7d836276c /Master/texmf-dist/source/lualatex/lualatex-math
parentccf357defee0d406f6a8b7517b7bb0b4134ac6ba (diff)
lualatex-math (19apr16)
git-svn-id: svn://tug.org/texlive/trunk@40621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/lualatex/lualatex-math')
-rw-r--r--Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx56
1 files changed, 9 insertions, 47 deletions
diff --git a/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx b/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
index a2a4bc3b868..ec3812c4e4a 100644
--- a/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
+++ b/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
@@ -31,7 +31,7 @@
%</driver>
% \fi
%
-% \CheckSum{316}
+% \CheckSum{267}
%
% \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
@@ -115,12 +115,11 @@
% Unicode and legacy math typesetting.
%
% Currently patches for the \hologo{LaTeX2e} kernel and the \pkg{amsmath},
-% \pkg{amsopn}, \pkg{mathtools} and \pkg{icomma} packages are provided. It
-% is not relevant whether you load these packages before or after
-% \thispackage. They should work as expected (and ideally you shouldn’t
-% notice anything), but if you load other packages that by themselves
-% overwrite commands patched by this package, bad things may happen, as it is
-% usual with \hologo{LaTeX}.
+% \pkg{mathtools} and \pkg{icomma} packages are provided. It is not relevant
+% whether you load these packages before or after \thispackage. They should
+% work as expected (and ideally you shouldn’t notice anything), but if you load
+% other packages that by themselves overwrite commands patched by this package,
+% bad things may happen, as it is usual with \hologo{LaTeX}.
%
% One user-visible change is that the new
% \DescribeMacros{\mathstyle}\cmd{\mathstyle} primitive
@@ -149,7 +148,7 @@
%<@@=lltxmath>
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
\RequirePackage{expl3}[2015/09/07]
-\ProvidesExplPackage{lualatex-math}{2015/09/22}{1.5}%
+\ProvidesExplPackage{lualatex-math}{2016/04/16}{1.6}%
{Patches for mathematics typesetting with LuaLaTeX}
\RequirePackage { etoolbox } [ 2007/10/08 ]
\cs_if_exist:NF \newluabytecode
@@ -540,46 +539,9 @@
% \end{macro}
%
%
-% \subsection{\pkg{amsopn}}
-%
% \changes{v1.1}{2012/10/13}{Add fix and unit test for \pkg{amsopn}}
-% The \pkg{amsopn} package can be used standalone, but is also loaded by
-% \pkg{amsmath}. It provides the \cmd{\DeclareMathOperator} command which
-% breaks when the minus character is a Unicode math character; this issue was
-% brought to my attention by \Burnol.
-%
-% \begin{macro}{\newmcodes@}
-% We only need to patch one usage of |\mathcode| in the internal macro
-% |\newmcodes@|, which is called by all user-defined operators.
-% \begin{macrocode}
-\group_begin:
-\char_set_catcode_other:N \"
-\AtEndOfPackageFile * { amsopn } {
- \@@_patch:NNnnn \newmcodes@ \cs_gset_nopar:Npn { } {
- \mathcode `\' 39
- \mathcode `\* 42
- \mathcode `\. "613A
- \ifnum \mathcode `\- = 45 ~ \else
- \mathchardef \std@minus \mathcode `\- \relax
- \fi
- \mathcode `\- 45
- \mathcode `\/ 47
- \mathcode `\: "603A \relax
- } {
- \char_set_mathcode:nn { `\' } { 39 }
- \char_set_mathcode:nn { `\* } { 42 }
- \char_set_mathcode:nn { `\. } { "613A }
- \int_compare:nNnF { \utex_mathcodenum:D `\- } = { 45 } {
- \@@_set_mathchar:NN \std@minus \-
- }
- \char_set_mathcode:nn { `\- } { 45 }
- \char_set_mathcode:nn { `\/ } { 47 }
- \char_set_mathcode:nn { `\: } { "603A }
- }
-}
-\group_end:
-% \end{macrocode}
-% \end{macro}
+% \changes{v1.6}{2016/04/16}{Removed patch for \cs{newmcodes@};
+% \pkg{amsmath} now has a definition usable in \Hologo{LuaLaTeX}}
%
%
% \subsection{\pkg{mathtools}}