summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdfbin258542 -> 257240 bytes
-rw-r--r--Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx29
-rw-r--r--Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins6
-rw-r--r--Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua2
-rw-r--r--Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty10
5 files changed, 28 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf b/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf
index ecee15fdb9e..b97a53992d5 100644
--- a/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf
+++ b/Master/texmf-dist/doc/lualatex/lualatex-math/lualatex-math.pdf
Binary files differ
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 97b96a0cee3..91373001ce0 100644
--- a/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
+++ b/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright 2011 by Philipp Stephani
+% Copyright 2011, 2012 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{886}
+% \CheckSum{887}
%
% \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
@@ -56,7 +56,7 @@
% \GetFileInfo{lualatex-math.sty}
%
% \title{The \thispackage package\thanks{This document corresponds to \thispackage{}~\fileversion, dated~\filedate.}}
-% \author{Philipp Stephani \\ \texttt{st\_philipp@yahoo.de}}
+% \author{Philipp Stephani \\ \texttt{p.stephani2@gmail.com}}
% \date{\filedate}
%
%
@@ -137,8 +137,8 @@
% \begin{macrocode}
%<*package>
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
-\RequirePackage{expl3}[2011/09/05]
-\ProvidesExplPackage{lualatex-math}{2011/09/18}{0.3b}%
+\RequirePackage{expl3}[2012/08/14]
+\ProvidesExplPackage{lualatex-math}{2012/08/23}{0.3c}%
{Patches for mathematics typesetting with LuaLaTeX}
\RequirePackage { etoolbox } [ 2007/10/08 ]
\RequirePackage { luatexbase } [ 2010/05/27 ]
@@ -331,10 +331,11 @@
% mathematical code of the character \texttt{\textasciigrave}\meta{token}.
% Since there is no \cmd{\Umathcharnumdef} primitive, we have to extract the
% class, family, and slot numbers separately.
+% \changes{v0.3c}{2012/08/23}{\pkg{l3kernel} renamed \cs{lua_now:x} to \cs{lua_now_x:n}}
% \begin{macrocode}
\cs_new_protected_nopar:Npn \lltxmath_set_mathchar:NN #1 #2 {
\luatexUmathchardef #1
- \lua_now:x {
+ \lua_now_x:n {
lualatex.math.print_class_fam_slot( \int_eval:n { `#2 } )
}
\scan_stop:
@@ -479,10 +480,11 @@
% specified by \meta{primitive}, which must be one of \cmd{\fontcharwd},
% \cmd{\fontcharht} or \cmd{\fontchardp}, in the currently selected text
% style font.
+% \changes{v0.3c}{2012/08/23}{\pkg{l3kernel} renamed \cs{lua_now:x} to \cs{lua_now_x:n}}
% \begin{macrocode}
\cs_new_nopar:Npn \lltxmath_char_dim:NN #1 #2 {
#1 \textfont
- \lua_now:x {
+ \lua_now_x:n {
lualatex.math.print_fam_slot( \int_eval:n { `#2 } )
}
}
@@ -1122,11 +1124,12 @@ end
% \begin{macro}{\AssertNoSpace}
% The command \cmd{\AssertNoSpace}\marg{text} asserts that the node list that
% is the result of typesetting \meta{text} contains no glue or kern nodes.
+% \changes{v0.3c}{2012/08/23}{\pkg{l3kernel} renamed \cs{lua_now:x} to \cs{lua_now_x:n}}
% \begin{macrocode}
\NewDocumentCommand \AssertNoSpace { m } {
\hbox_set:Nn \l_test_tmpa_box { #1 }
\int_if_odd:nTF {
- \lua_now:x {
+ \lua_now_x:n {
local~ b = tex.getbox(\int_use:N \l_test_tmpa_box)
if~ contains_space(b.head) then~
tex.sprint("0")
@@ -1153,13 +1156,14 @@ end
% The command \cmd{\AssertMuSpace}\marg{text}\marg{muskip} asserts that the
% node list that is the result of typesetting \meta{text} contains at least
% one glue or kern node of with \meta{muskip}.
+% \changes{v0.3c}{2012/08/23}{\pkg{l3kernel} renamed \cs{lua_now:x} to \cs{lua_now_x:n}}
% \begin{macrocode}
\makeatletter
\NewDocumentCommand \AssertMuSpace { m m } {
\hbox_set:Nn \l_test_tmpa_box { #1 }
\hbox_set:Nn \l_test_tmpb_box { $ \mskip #2 \m@th $ }
\int_if_odd:nTF {
- \lua_now:x {
+ \lua_now_x:n {
local~ b = tex.getbox(\int_use:N \l_test_tmpa_box)
local~ s = tex.getbox(\int_use:N \l_test_tmpb_box)
if~ contains_space(b.head, s.width) then~
@@ -1445,12 +1449,17 @@ end
% package contains fixes that somewhat overlap with ours. We have to take care
% in all packages that no attempt is made to patch a single macro twice.
% Therefore we treat warnings (that occur when trying to patch a macro with an
-% unknown meaning) as errors here.
+% unknown meaning) as errors here. However, the auxiliary package
+% \pkg{fontspec-patches} uses \cmd{\RenewDocumentCommand} from the \pkg{xparse}
+% package, which generates a warning that we don't want to turn into an error.
+% Therefore we treat the offending message \msg{redefine-command} specially.
+% \changes{v0.3c}{2012/08/23}{Added special treatment for \msg{redefine-command} warning}
%
% \begin{macrocode}
%<*test-unicode>
\ExplSyntaxOn
\msg_redirect_class:nn { warning } { error }
+\msg_redirect_name:nnn { LaTeX } { xparse / redefine-command } { info }
\ExplSyntaxOff
\usepackage{amsmath}
\usepackage{unicode-math}[2011/05/05]
diff --git a/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins b/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins
index 223f55d2d85..4c372443e0b 100644
--- a/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins
+++ b/Master/texmf-dist/source/lualatex/lualatex-math/lualatex-math.ins
@@ -1,5 +1,5 @@
% lualatex-math.ins
-% Copyright 2011 Philipp Stephani
+% Copyright 2011, 2012 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 by Philipp Stephani
+Copyright 2011, 2012 Philipp Stephani
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
@@ -55,7 +55,7 @@ LaTeX version 2009/09/24 or later.
This is a generated file.
-Copyright 2011 by Philipp Stephani
+Copyright 2011, 2012 Philipp Stephani
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
index e4f18e8fb85..4a7120e5c89 100644
--- a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
+++ b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
@@ -8,7 +8,7 @@
--
-- This is a generated file.
--
--- Copyright 2011 by Philipp Stephani
+-- Copyright 2011, 2012 Philipp Stephani
--
-- This file may be distributed and/or modified under the
-- conditions of the LaTeX Project Public License, either
diff --git a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
index d9fce671a1f..d0312d0a3f0 100644
--- a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
+++ b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright 2011 by Philipp Stephani
+%% Copyright 2011, 2012 Philipp Stephani
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -21,8 +21,8 @@
%% LaTeX version 2009/09/24 or later.
%%
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
-\RequirePackage{expl3}[2011/09/05]
-\ProvidesExplPackage{lualatex-math}{2011/09/18}{0.3b}%
+\RequirePackage{expl3}[2012/08/14]
+\ProvidesExplPackage{lualatex-math}{2012/08/23}{0.3c}%
{Patches for mathematics typesetting with LuaLaTeX}
\RequirePackage { etoolbox } [ 2007/10/08 ]
\RequirePackage { luatexbase } [ 2010/05/27 ]
@@ -102,7 +102,7 @@
\cs_generate_variant:Nn \lltxmath_patch:NNnnn { c }
\cs_new_protected_nopar:Npn \lltxmath_set_mathchar:NN #1 #2 {
\luatexUmathchardef #1
- \lua_now:x {
+ \lua_now_x:n {
lualatex.math.print_class_fam_slot( \int_eval:n { `#2 } )
}
\scan_stop:
@@ -138,7 +138,7 @@
\int_const:Nn \c_lltxmath_std_equal_mathcode_int { "303D }
\cs_new_nopar:Npn \lltxmath_char_dim:NN #1 #2 {
#1 \textfont
- \lua_now:x {
+ \lua_now_x:n {
lualatex.math.print_fam_slot( \int_eval:n { `#2 } )
}
}