summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-03-20 21:30:20 +0000
committerKarl Berry <karl@freefriends.org>2015-03-20 21:30:20 +0000
commitae842bc213f34ca95dc9c206d56e00258098f479 (patch)
treec9b55ce72cd2ee315524de99762b628e5423130b /Master/texmf-dist/doc
parentb9277f42feaf18549d8112685f45894a5789bbbd (diff)
luamplib (20mar15)
git-svn-id: svn://tug.org/texlive/trunk@36575 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/NEWS6
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/luamplib.pdfbin137596 -> 138872 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex9
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex9
4 files changed, 24 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/NEWS b/Master/texmf-dist/doc/luatex/luamplib/NEWS
index a736d5cd714..91afec63d95 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
+2015/03/20 2.10.0
+ * TeX code in `VerbatimTeX()' between `beginfig();' and `endfig;'
+ will be inserted after flushing out the mplib figure.
+ * `\mpcolor' command accepts optional argument: for instance,
+ `\mpcolor[HTML]{FF0000}'.
+
2015/01/26 2.9.1
* fix a bug reported by Herbert Schulz via luatex mailing list
(http://tug.org/pipermail/luatex/2015-January/005054.html)
diff --git a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
index 1636e24e32b..d6123a59e52 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
+++ b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
Binary files 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 a7c397041b0..eeb6bade559 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
@@ -128,4 +128,13 @@ beginfig(0);
dotlabel.rt("$\sqrt2$",origin);
endfig;
\end{mplibcode}%
+\leavevmode
+\begin{mplibcode}
+ D := sqrt(2)**7;
+ beginfig(0);
+ draw fullcircle scaled D;
+ VerbatimTeX("\gdef\Dia{" & decimal D & "}");
+ endfig;
+\end{mplibcode}%
+diameter:\Dia bp.%
\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 583c2fc4d78..f6c7db74e83 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
@@ -126,4 +126,13 @@ beginfig(0);
dotlabel.rt("$\sqrt2$",origin);
endfig;
\endmplibcode
+\leavevmode
+\mplibcode
+ D := sqrt(2)**7;
+ beginfig(0);
+ draw fullcircle scaled D;
+ VerbatimTeX("\gdef\Dia{" & decimal D & "}");
+ endfig;
+\endmplibcode
+diameter:\Dia bp.%
\bye