From 906e731ebc4e6379856b8f08d37fdada4915c9e5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 25 Nov 2010 23:33:18 +0000 Subject: luamplib (25nov10) git-svn-id: svn://tug.org/texlive/trunk@20568 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua | 2 +- Master/texmf-dist/tex/luatex/luamplib/luamplib.lua | 10 +++++----- Master/texmf-dist/tex/luatex/luamplib/luamplib.sty | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua index 4881dcd33a2..4066758e9bd 100644 --- a/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua +++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua @@ -8,7 +8,7 @@ -- This is a generated file. -- -- Copyright (C) 2008-2009 by Hans Hagen, Taco Hoekwater and Elie Roux --- . +-- . (Support: .) -- -- This work is under the CC0 license. -- diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua index b92db79f429..2ff14676ff2 100644 --- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua +++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.lua @@ -8,7 +8,7 @@ -- This is a generated file. -- -- Copyright (C) 2008-2009 by Hans Hagen, Taco Hoekwater and Elie Roux --- . +-- . (Support: .) -- -- This work is under the CC0 license. -- @@ -23,8 +23,8 @@ module('luamplib', package.seeall) luamplib.module = { name = "luamplib", - version = 1.04, - date = "2010/08/02", + version = 1.06, + date = "2010/10/17", description = "Lua package to typeset Metapost with LuaTeX's MPLib.", author = "Hans Hagen, Taco Hoekwater & Elie Roux", copyright = "ConTeXt Development Team & Elie Roux", @@ -214,8 +214,8 @@ local bend_tolerance = 131/65536 local rx, sx, sy, ry, tx, ty, divider = 1, 0, 0, 1, 0, 0, 1 local function pen_characteristics(object) - if luamplib.pen_info then - local t = luamplib.pen_info(object) + if mplib.pen_info then + local t = mplib.pen_info(object) rx, ry, sx, sy, tx, ty = t.rx, t.ry, t.sx, t.sy, t.tx, t.ty divider = sx*sy - rx*ry return not (sx==1 and rx==0 and ry==0 and sy==1 and tx==0 and ty==0), t.width diff --git a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty index 5d450f8dbe5..acdf367c53f 100644 --- a/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty +++ b/Master/texmf-dist/tex/luatex/luamplib/luamplib.sty @@ -8,7 +8,7 @@ %% This is a generated file. %% %% Copyright (C) 2008-2009 by Hans Hagen, Taco Hoekwater and Elie Roux -%% . +%% . (Support: .) %% %% This work is under the CC0 license. %% @@ -25,13 +25,13 @@ \else \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{luamplib} - [2010/08/02 v1.04 mplib package for LuaTeX.] + [2010/10/17 v1.06 mplib package for LuaTeX] \RequirePackage{luatexbase-modutils} \RequirePackage{fancyvrb} \fi -\luatexUseModule{luamplib} +\RequireLuaModule{luamplib} \def\mplibsetformat#1{\directlua{luamplib.setformat([[#1]])}} -- cgit v1.2.3