summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-14 21:24:36 +0000
committerKarl Berry <karl@freefriends.org>2016-03-14 21:24:36 +0000
commitecc285a4a14716fefbfab61485038eb34dd32a5e (patch)
tree0881119a51b498096daf569bee134f53315394c8 /Master/texmf-dist/tex/lualatex
parenta067ac95d311257396b00e472c84f8c8d069db02 (diff)
lualatex-math (14mar16)
git-svn-id: svn://tug.org/texlive/trunk@40023 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex')
-rw-r--r--Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua6
-rw-r--r--Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty24
2 files changed, 1 insertions, 29 deletions
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 2513e7b1452..030c9a4b8dc 100644
--- a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
+++ b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.lua
@@ -33,12 +33,6 @@ luatexbase.provides_module({
local unpack = unpack or table.unpack
local cctb = luatexbase.catcodetables or
{string = luatexbase.registernumber("catcodetable@string")}
-function lualatex.math.print_fam_slot(char)
- local code = tex.getmathcode(char)
- local class, family, slot = unpack(code)
- local result = string.format("%i %i ", family, slot)
- tex.sprint(cctb.string, result)
-end
function lualatex.math.print_class_fam_slot(char)
local code = tex.getmathcode(char)
local class, family, slot = unpack(code)
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 1d65880ae36..970fc4316ee 100644
--- a/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
+++ b/Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty
@@ -22,7 +22,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2009/09/24]
\RequirePackage{expl3}[2015/09/07]
-\ProvidesExplPackage{lualatex-math}{2015/09/22}{1.4a}%
+\ProvidesExplPackage{lualatex-math}{2015/09/22}{1.5}%
{Patches for mathematics typesetting with LuaLaTeX}
\RequirePackage { etoolbox } [ 2007/10/08 ]
\cs_if_exist:NF \newluabytecode
@@ -103,12 +103,6 @@
}
\int_const:Nn \c__lltxmath_std_minus_mathcode_int { "2200 }
\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:n {
- lualatex.math.print_fam_slot( \int_eval:n { `#2 } )
- }
-}
\tl_new:N \l__lltxmath_minus_mathchar
\tl_new:N \l__lltxmath_equal_mathchar
\AtBeginOfPackageFile { amsmath } {
@@ -131,22 +125,6 @@
\__lltxmath_set_mathchar:NN \std@minus \-
\__lltxmath_set_mathchar:NN \std@equal \=
}
- \__lltxmath_patch:NNnnn \resetMathstrut@ \cs_set_nopar:Npn { } {
- \setbox \z@ \hbox {
- \mathchardef \@tempa \mathcode `\( \relax % \)
- \def \@tempb ##1 "##2 ##3 { \the \textfont "##3 \char" }
- \expandafter \@tempb \meaning \@tempa \relax
- }
- \ht \Mathstrutbox@ \ht \z@
- \dp \Mathstrutbox@ \dp \z@
- } {
- \box_set_ht:Nn \Mathstrutbox@ {
- \__lltxmath_char_dim:NN \fontcharht \( % \)
- }
- \box_set_dp:Nn \Mathstrutbox@ {
- \__lltxmath_char_dim:NN \fontchardp \)
- }
- }
\__lltxmath_patch:NNnnn \subarray \cs_set:Npn { #1 } {
\vcenter
\bgroup