summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luamplib
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luamplib')
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib-createmem.lua2
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.lua10
-rw-r--r--Master/texmf-dist/tex/luatex/luamplib/luamplib.sty6
3 files changed, 9 insertions, 9 deletions
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
--- <elie.roux@telecom-bretagne.eu>.
+-- <elie.roux@telecom-bretagne.eu>. (Support: <lualatex-dev@tug.org>.)
--
-- 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
--- <elie.roux@telecom-bretagne.eu>.
+-- <elie.roux@telecom-bretagne.eu>. (Support: <lualatex-dev@tug.org>.)
--
-- 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
-%% <elie.roux@telecom-bretagne.eu>.
+%% <elie.roux@telecom-bretagne.eu>. (Support: <lualatex-dev@tug.org>.)
%%
%% 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]])}}