diff options
author | Karl Berry <karl@freefriends.org> | 2014-06-19 20:24:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-06-19 20:24:05 +0000 |
commit | c46f74d4c2a102cc794be871c46f42519bf6da8a (patch) | |
tree | 30d13742844bdc1b9d493897cb29f17bfdc9ed1e /Master/texmf-dist/doc/luatex/luamplib | |
parent | 645977d2a193cba365984822764a2d97c2951249 (diff) |
luamplib (19jun14)
git-svn-id: svn://tug.org/texlive/trunk@34319 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luamplib')
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/NEWS | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf | bin | 132807 -> 135492 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex | 8 |
3 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/NEWS b/Master/texmf-dist/doc/luatex/luamplib/NEWS index 14b03427dd0..36682f27656 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/NEWS +++ b/Master/texmf-dist/doc/luatex/luamplib/NEWS @@ -1,5 +1,11 @@ History of the luamplib package +2014/06/17 2.8.0 + * support color/xcolor/spotcolor packages. + On LaTeX, color names or expressions of color/xcolor packages + can be used inside mplibcode environment with the command + \mpcolor{<color expression>}. + 2014/04/25 2.7.0 * support DVIPDFMx * default directory for cache is now '$TEXMFVAR/luamplib_cache' diff --git a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf Binary files differindex 6af081358b9..6995c8cfed9 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf +++ b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf 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 84ef88c4149..9a07fa86f50 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex @@ -1,5 +1,6 @@ \documentclass{article} \usepackage{luamplib} +\usepackage{xcolor} \everymplib{ beginfig(0); } \everyendmplib{ endfig; } \begin{document} @@ -25,8 +26,8 @@ A% \begin{mplibcode} verbatimtex \lower.2em etex beginfig(0); -draw origin--(1cm,0) withcolor red; -draw btex g\begin{huge}g\end{huge}etex withcolor blue; +draw origin--(1cm,0) withcolor \mpcolor{teal}; +draw btex g\begin{huge}g\end{huge}etex withcolor \mpcolor{orange}; draw bbox currentpicture; endfig; @@ -50,7 +51,8 @@ numeric u; u=1cm; z1=-z2=(-u,0); for i = 1 upto 3: draw z1..(0, i*u)..z2; - label.top(TEX("$e_{" & decimal(i) & "}$"), (0, i*u)) withcolor blue; + label.top(TEX("$e_{" & decimal(i) & "}$"), (0, i*u)) + withcolor \mpcolor{red!70!blue}; endfor; endfig; \end{mplibcode}% |