diff options
author | Karl Berry <karl@freefriends.org> | 2014-02-03 23:47:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-02-03 23:47:14 +0000 |
commit | 94921319f96b6ef37f21921d2354d3f5a93cff40 (patch) | |
tree | 4f9e2a9cbbc910f4ccf8a5fb529848db907d6a73 /Master/texmf-dist/tex | |
parent | 91933032894054038bc811d9f2445da230661faa (diff) |
luamplib (3feb14)
git-svn-id: svn://tug.org/texlive/trunk@32862 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luamplib/luamplib.lua | 5 | ||||
-rw-r--r-- | Master/texmf-dist/tex/luatex/luamplib/luamplib.sty | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua index b5a8b776862..0cc7a65a92f 100644 --- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua +++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua @@ -18,8 +18,8 @@ luamplib.lastlog = "" local err, warn, info, log = luatexbase.provides_module({ name = "luamplib", - version = 2.3, - date = "2014/01/23", + version = 2.4, + date = "2014/02/02", description = "Lua package to typeset Metapost with LuaTeX's MPLib.", }) @@ -124,6 +124,7 @@ else local mpx = mplib.new { ini_version = true, find_file = luamplib.finder, + math_mode = luamplib.numbersystem, } local result if not mpx then diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty index 5b3374fefcf..c1c75a46ad8 100644 --- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty +++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty @@ -14,7 +14,7 @@ \else \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luamplib} - [2014/01/23 v2.3 mplib package for LuaTeX] + [2014/02/02 v2.4 mplib package for LuaTeX] \RequirePackage{luatexbase-modutils} \RequirePackage{pdftexcmds} \fi @@ -38,7 +38,7 @@ %catcode`\{=12 %catcode`\}=12 \catcode`\#=12 \catcode`\^=12 \catcode`\~=12 \catcode`\_=12 - %catcode`\%=12 %% don^^e2^^80^^99t in Plain! + %catcode`\%=12 %% don’t in Plain! \catcode`\&=12 \catcode`\$=12 } \def\mplibputtextbox#1{\vbox to 0pt{\vss\hbox to 0pt{\raise\dp#1\copy#1\hss}}} @@ -98,6 +98,7 @@ \everyendmplibtoks{#1}% } \def\mpdim#1{ begingroup \the\dimexpr #1\relax\space endgroup } % gmp.sty +\def\mplibnumbersystem#1{\directlua{luamplib.numbersystem = "#1"}} \ifx\mplibscratchbox\undefined \newbox\mplibscratchbox \fi \def\mplibstarttoPDF#1#2#3#4{% \hbox\bgroup |