texlive[44621] Master/texmf-dist: lualatex-math (16jun17)
commits+karl at tug.org
commits+karl at tug.org
Sat Jun 17 00:09:57 CEST 2017
Revision: 44621
http://tug.org/svn/texlive?view=revision&revision=44621
Author: karl
Date: 2017-06-17 00:09:57 +0200 (Sat, 17 Jun 2017)
Log Message:
-----------
lualatex-math (16jun17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf
trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins
trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
Modified: trunk/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
===================================================================
--- trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx 2017-06-16 22:09:46 UTC (rev 44620)
+++ trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx 2017-06-16 22:09:57 UTC (rev 44621)
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 2011–2016 by Philipp Stephani
+% Copyright 2011–2017 by Philipp Stephani
%
% This file may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -31,7 +31,7 @@
%</driver>
% \fi
%
-% \CheckSum{267}
+% \CheckSum{280}
%
% \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
@@ -148,7 +148,7 @@
%<@@=lltxmath>
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
\RequirePackage{expl3}[2015/09/07]
-\ProvidesExplPackage{lualatex-math}{2016/04/16}{1.6}%
+\ProvidesExplPackage{lualatex-math}{2017/06/15}{1.7}%
{Patches for mathematics typesetting with LuaLaTeX}
\RequirePackage { etoolbox } [ 2007/10/08 ]
\cs_if_exist:NF \newluabytecode
@@ -516,22 +516,39 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{\@genfrac}
-% Generalized fractions are typeset by the internal \cmd{\@genfrac} command.
+% \begin{macro}{\genfrac}
+% Generalized fractions are typeset by the \cmd{\genfrac} command.
+% Since \cmd{\genfrac} is declared by \cmd{\DeclareRobustCommand},
+% we have to patch the macro \cmd{\genfrac\textvisiblespace}.
+% \changes{v1.7}{2017/06/15}{Adapt patch to changes in \pkg{amsmath}}
% \begin{macrocode}
- \@@_patch:NNnnn \@genfrac \cs_set_nopar:Npn {
- #1 #2 #3 #4 #5
+ \@@_patch:cNnnn { genfrac~ } \cs_set:Npn {
+ #1 #2 #3 #4 #5 #6
} {
{
- #1 { \begingroup #4 \endgroup #2 #3 \relax #5 }
+ \@mathstyle { #4 }
+ \genfrac at choice o { #1 }
+ {
+ \begingroup #5 \endgroup
+%<@@=>
+ \ifx @ #3 @ \@@over \else \@@above \fi #3 \relax
+ #6
+ }
+ \genfrac at choice c { #2 }
}
} {
{
- #1 {
+ \@mathstyle { #4 }
+ \genfrac at choice o { #1 }
+ {
\utex_stack:D {
- \group_begin: #4 \group_end: #2 #3 \scan_stop: #5
+ \group_begin: #5 \group_end:
+ \tl_if_empty:nTF { #3 } { \@@over } { \@@above #3 \scan_stop: }
+%<@@=lltxmath>
+ #6
}
}
+ \genfrac at choice c { #2 }
}
}
}
Modified: trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins
===================================================================
--- trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins 2017-06-16 22:09:46 UTC (rev 44620)
+++ trunk/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins 2017-06-16 22:09:57 UTC (rev 44621)
@@ -1,5 +1,5 @@
% lualatex-math.ins
-% Copyright 2011, 2012, 2013 Philipp Stephani
+% Copyright 2011, 2012, 2013, 2017 Philipp Stephani
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either
@@ -26,7 +26,7 @@
This is a generated file.
-Copyright 2011, 2012, 2013 Philipp Stephani
+Copyright 2011-2017 Philipp Stephani
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -50,7 +50,7 @@
This is a generated file.
-Copyright 2011, 2012, 2013 Philipp Stephani
+Copyright 2011-2017 Philipp Stephani
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
Modified: trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua 2017-06-16 22:09:46 UTC (rev 44620)
+++ trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua 2017-06-16 22:09:57 UTC (rev 44621)
@@ -8,7 +8,7 @@
--
-- This is a generated file.
--
--- Copyright 2011, 2012, 2013 Philipp Stephani
+-- Copyright 2011-2017 Philipp Stephani
--
-- This file may be distributed and/or modified under the
-- conditions of the LaTeX Project Public License, either
Modified: trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty 2017-06-16 22:09:46 UTC (rev 44620)
+++ trunk/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty 2017-06-16 22:09:57 UTC (rev 44621)
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright 2011, 2012, 2013 Philipp Stephani
+%% Copyright 2011-2017 Philipp Stephani
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
\RequirePackage{expl3}[2015/09/07]
-\ProvidesExplPackage{lualatex-math}{2016/04/16}{1.6}%
+\ProvidesExplPackage{lualatex-math}{2017/06/15}{1.7}%
{Patches for mathematics typesetting with LuaLaTeX}
\RequirePackage { etoolbox } [ 2007/10/08 ]
\cs_if_exist:NF \newluabytecode
@@ -173,19 +173,31 @@
\utex_stack:D { \group_begin: #1 \group_end: \@@over #2 }
}
}
- \__lltxmath_patch:NNnnn \@genfrac \cs_set_nopar:Npn {
- #1 #2 #3 #4 #5
+ \__lltxmath_patch:cNnnn { genfrac~ } \cs_set:Npn {
+ #1 #2 #3 #4 #5 #6
} {
{
- #1 { \begingroup #4 \endgroup #2 #3 \relax #5 }
+ \@mathstyle { #4 }
+ \genfrac at choice o { #1 }
+ {
+ \begingroup #5 \endgroup
+ \ifx @ #3 @ \@@over \else \@@above \fi #3 \relax
+ #6
+ }
+ \genfrac at choice c { #2 }
}
} {
{
- #1 {
+ \@mathstyle { #4 }
+ \genfrac at choice o { #1 }
+ {
\utex_stack:D {
- \group_begin: #4 \group_end: #2 #3 \scan_stop: #5
+ \group_begin: #5 \group_end:
+ \tl_if_empty:nTF { #3 } { \@@over } { \@@above #3 \scan_stop: }
+ #6
}
}
+ \genfrac at choice c { #2 }
}
}
}
More information about the tex-live-commits
mailing list