diff options
author | Karl Berry <karl@freefriends.org> | 2013-08-08 23:28:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-08-08 23:28:29 +0000 |
commit | 8615246bec536d5eb6457dbd01308c1766ef7d7e (patch) | |
tree | c891af30d907b8f8cacbac0c0129731212ce7708 /Master/texmf-dist/tex/lualatex | |
parent | 1cc0c8d0188da1ffc08a7fa8ce625427f36cecc6 (diff) |
lualatex-math (8aug13)
git-svn-id: svn://tug.org/texlive/trunk@31389 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.lua | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/lualatex/lualatex-math/lualatex-math.sty | 6 |
2 files changed, 12 insertions, 12 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 4a7120e5c89..b31a4e7ca1f 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, 2012 Philipp Stephani +-- Copyright 2011, 2012, 2013 Philipp Stephani -- -- This file may be distributed and/or modified under the -- conditions of the LaTeX Project Public License, either @@ -22,28 +22,28 @@ -- require("luatexbase.modutils") require("luatexbase.cctb") +lualatex = lualatex or {} +lualatex.math = lualatex.math or {} local err, warn, info, log = luatexbase.provides_module({ name = "lualatex-math", - date = "2011/05/05", - version = 0.1, + date = "2013/08/03", + version = 1.3, description = "Patches for mathematics typesetting with LuaLaTeX", author = "Philipp Stephani", licence = "LPPL v1.3+" }) -local unpack = unpack -local string = string -local tex = tex +local unpack = unpack or table.unpack local cctb = luatexbase.catcodetables -module("lualatex.math") -function print_fam_slot(char) +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 print_class_fam_slot(char) +function lualatex.math.print_class_fam_slot(char) local code = tex.getmathcode(char) local class, family, slot = unpack(code) local result = string.format("%i %i %i ", class, family, slot) tex.sprint(cctb.string, result) end +return lualatex.math 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 9ab582d97bf..22d1c573bd1 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, 2012 Philipp Stephani +%% Copyright 2011, 2012, 2013 Philipp Stephani %% %% This file may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -22,12 +22,12 @@ %% \NeedsTeXFormat{LaTeX2e}[2009/09/24] \RequirePackage{expl3}[2012/08/14] -\ProvidesExplPackage{lualatex-math}{2013/01/13}{1.2}% +\ProvidesExplPackage{lualatex-math}{2013/08/03}{1.3}% {Patches for mathematics typesetting with LuaLaTeX} \RequirePackage { etoolbox } [ 2007/10/08 ] \RequirePackage { luatexbase } [ 2010/05/27 ] \RequirePackage { filehook } [ 2011/03/09 ] -\RequireLuaModule { lualatex-math } [ 2011/05/05 ] +\RequireLuaModule { lualatex-math } [ 2013/08/03 ] \cs_new_nopar:Npn \__lltxmath_restore_catcode:N #1 { \char_set_catcode:nn { \int_eval:n { `#1 } } { \char_value_catcode:n { `#1 } } |