summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-12-19 22:50:05 +0000
committerKarl Berry <karl@freefriends.org>2013-12-19 22:50:05 +0000
commite79024c0c4b136036ad806dc3f848b5e388fdbf3 (patch)
tree158495cd8c96909130b92cca8b9a92cd06a9bd08 /Master/texmf-dist/doc/luatex
parent0eeb8fd7c5fc267ce00c5e410b6f8335dad303c8 (diff)
luamplib (19dec13)
git-svn-id: svn://tug.org/texlive/trunk@32451 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex')
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/NEWS4
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/luamplib.pdfbin101829 -> 102765 bytes
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex19
-rw-r--r--Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex17
4 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/NEWS b/Master/texmf-dist/doc/luatex/luamplib/NEWS
index cd1398a0d22..66c93c46e1e 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/NEWS
+++ b/Master/texmf-dist/doc/luatex/luamplib/NEWS
@@ -1,5 +1,9 @@
History of the luamplib package
+2013/12/19 2.1
+ * Do not ignore "withcolor" option during textext process
+ * verbatimtex ... etex is now just ignored, not raising error
+
2013/12/11 2.03
* implemented textext() macro which is identical to TEX() from TEX.mp.
TEX() is a synonym of textext().
diff --git a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf
index b8a91225742..6a725dea35c 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 a6c696e6262..57fbafd26ed 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex
@@ -20,7 +20,13 @@ beginfig(1);
endfig;
\end{mplibcode}%
B\par
+A%
\begin{mplibcode}
+beginfig(0);
+draw origin--(1cm,0) withcolor red;
+draw btex g etex withcolor blue;
+endfig;
+
beginfig(18);
numeric u;
u = 1cm;
@@ -33,4 +39,17 @@ label.bot(btex $x$ etex, (2u,0));
label.lft(btex $y$ etex, (0,u));
endfig;
\end{mplibcode}%
+B\par
+A%
+\begin{mplibcode}
+beginfig(2);
+numeric u; u=1cm;
+z1=-z2=origin-(u,0);
+for i = 1 upto 3:
+ draw z1..(0, i*u)..z2;
+ label.top(TEX("$e_{" & decimal(i) & "}$"), (0, i*u)) withcolor blue;
+endfor;
+endfig;
+\end{mplibcode}%
+B\par
\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 96b1ea73553..f708013717a 100644
--- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
+++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex
@@ -20,6 +20,11 @@ endfig;
B\par
A%
\mplibcode
+beginfig(0);
+draw origin--(1cm,0) withcolor red;
+draw btex g etex withcolor blue;
+endfig;
+
beginfig(18);
numeric u;
u = 1cm;
@@ -33,4 +38,16 @@ label.lft(btex $y$ etex, (0,u));
endfig;
\endmplibcode
B\par
+A%
+\mplibcode
+beginfig(2);
+numeric u; u=1cm;
+z1=-z2=origin-(u,0);
+for i = 1 upto 3:
+ draw z1..(0, i*u)..z2;
+ label.top(TEX("$e_{" & decimal(i) & "}$"), (0, i*u)) withcolor blue;
+endfor;
+endfig;
+\endmplibcode
+B\par
\bye