summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-25 23:33:18 +0000
committerKarl Berry <karl@freefriends.org>2010-11-25 23:33:18 +0000
commit906e731ebc4e6379856b8f08d37fdada4915c9e5 (patch)
treeb8142f1d715a9643b09d0edc348fabab964171d3 /Master/texmf-dist/source/luatex
parent7a90c3381e4c789e3c113361e124fdb73cf368d4 (diff)
luamplib (25nov10)
git-svn-id: svn://tug.org/texlive/trunk@20568 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex')
-rw-r--r--Master/texmf-dist/source/luatex/luamplib/Makefile2
-rw-r--r--Master/texmf-dist/source/luatex/luamplib/luamplib.dtx26
2 files changed, 15 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/luatex/luamplib/Makefile b/Master/texmf-dist/source/luatex/luamplib/Makefile
index 3d5e9cd0d49..c1c7ceda970 100644
--- a/Master/texmf-dist/source/luatex/luamplib/Makefile
+++ b/Master/texmf-dist/source/luatex/luamplib/Makefile
@@ -80,7 +80,7 @@ manifest:
@for f in $(GENERATED); do echo $$f; done
clean:
- @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg
+ @$(RM) -- *.log *.aux *.toc *.idx *.ind *.ilg *.out
mrproper: clean
@$(RM) -- $(GENERATED) $(ZIPS)
diff --git a/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx b/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
index d9835b70375..ed2680ef509 100644
--- a/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
+++ b/Master/texmf-dist/source/luatex/luamplib/luamplib.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% 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.
%
@@ -37,7 +37,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: luamplib 2010/08/02 v1.04 metapost package for LuaTeX.}
+\Msg{* Package: luamplib - metapost package for LuaTeX.}
\Msg{************************************************************************}
\keepsilent
@@ -49,7 +49,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.
@@ -106,8 +106,10 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{luamplib.drv}%
- [2010/08/02 v1.04 mplib package for LuaTeX.]%
+ [2010/10/17 v1.06 mplib package for LuaTeX]%
\documentclass{ltxdoc}
+\usepackage{hyperref}
+\newcommand*\email[1]{\href{mailto:#1}{#1}}
\begin{document}
\DocInput{luamplib.dtx}%
\end{document}
@@ -133,9 +135,9 @@ and the derived files
% Right brace \} Tilde \~}
%
% \title{The \textsf{luamplib} package}
-% \date{2010/08/02 v1.04}
+% \date{2010/10/17 v1.06}
% \author{Hans Hagen, Taco Hoekwater and Elie Roux \\
-% \texttt{elie.roux@telecom-bretagne.eu}}
+% Support: \email{lualatex-dev@tug.org}}
%
% \maketitle
%
@@ -214,8 +216,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",
@@ -463,8 +465,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
@@ -732,7 +734,7 @@ end
\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
@@ -741,7 +743,7 @@ end
% Loading of lua code.
% \begin{macrocode}
-\luatexUseModule{luamplib}
+\RequireLuaModule{luamplib}
% \end{macrocode}
%