From c49ba6283423ae1f96690a7249d1b5bf56e122ad Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 26 Mar 2015 21:52:52 +0000 Subject: luamplib (26mar15) git-svn-id: svn://tug.org/texlive/trunk@36637 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/luatex/luamplib/NEWS | 3 +++ Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf | Bin 138872 -> 139346 bytes .../doc/luatex/luamplib/test-luamplib-latex.tex | 9 +++++++++ .../doc/luatex/luamplib/test-luamplib-plain.tex | 9 +++++++++ 4 files changed, 21 insertions(+) (limited to 'Master/texmf-dist/doc/luatex/luamplib') diff --git a/Master/texmf-dist/doc/luatex/luamplib/NEWS b/Master/texmf-dist/doc/luatex/luamplib/NEWS index 91afec63d95..42ae5d1da71 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/NEWS +++ b/Master/texmf-dist/doc/luatex/luamplib/NEWS @@ -1,5 +1,8 @@ History of the luamplib package +2015/03/26 2.10.1 + * fix bug #55 regarding hash token + 2015/03/20 2.10.0 * TeX code in `VerbatimTeX()' between `beginfig();' and `endfig;' will be inserted after flushing out the mplib figure. diff --git a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf index d6123a59e52..d11d93844da 100644 Binary files a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf and b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex index eeb6bade559..016ac80c846 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex @@ -137,4 +137,13 @@ endfig; endfig; \end{mplibcode}% diameter:\Dia bp.% +\begin{mplibcode} + vardef rotatedlabel@#(expr str, loc, angl) = + draw thelabel@#(str, loc) rotatedaround(loc, angl) + enddef; + + beginfig(1); + rotatedlabel.top(textext("Rotated!"), origin, 45); + endfig; +\end{mplibcode}% \end{document} diff --git a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex index f6c7db74e83..1a76f1e857f 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex @@ -135,4 +135,13 @@ endfig; endfig; \endmplibcode diameter:\Dia bp.% +\mplibcode + vardef rotatedlabel@#(expr str, loc, angl) = + draw thelabel@#(str, loc) rotatedaround(loc, angl) + enddef; + + beginfig(1); + rotatedlabel.top(textext("Rotated!"), origin, 45); + endfig; +\endmplibcode \bye -- cgit v1.2.3