diff options
author | Karl Berry <karl@freefriends.org> | 2024-07-27 20:48:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-07-27 20:48:48 +0000 |
commit | d83b0d82f8316f90dc7ded37be1aa65d9726fbb1 (patch) | |
tree | d77a52d34c121a10d47be0e77923229eb5bfaaf9 /Master/texmf-dist/doc/luatex | |
parent | 718ebc69549b16327fbef6c23ec75549d2005bfc (diff) |
luamplib (27jul24)
git-svn-id: svn://tug.org/texlive/trunk@71915 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/luatex')
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/NEWS | 6 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf | bin | 252318 -> 253794 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex | 24 |
3 files changed, 18 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/NEWS b/Master/texmf-dist/doc/luatex/luamplib/NEWS index ced9d1706fc..1e4fcf9520f 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 +2024/07/27 2.34.3 + * in DVI mode, use LaTeX's shipout hooks to generate new XObjects + or to put resources to pageresources. (in plain, load atbegshi.sty) + + * fix shading to allow the even-odd rule + 2024/07/24 2.34.2 * With the newly introduced macros, \mplibgroup ... \endmplibgroup, users can define a transparency group or a normal form XObject from TeX side. diff --git a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf Binary files differindex 2aaf21613dd..448c237835c 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 00b31054922..22b30b07604 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex @@ -246,19 +246,19 @@ draw mpliboutlinetext.b ("$\displaystyle\frac{1}{1-x^2}$") \endmpfig \par\leavevmode \mppattern{mypatt} - \mpfig - picture q; - q := btex Q etex; - fill bbox q withcolor .8[red,white]; - draw q withcolor .8red; - \endmpfig +[ + xstep = 5, ystep = 6, +% matrix = "rotated 30", +] +\mpfig +draw (llcorner unitsquare--urcorner unitsquare) scaled 5 withcolor 1/3[blue,white] ; +draw (ulcorner unitsquare--lrcorner unitsquare) scaled 5 withcolor 1/3[red,white] ; +\endmpfig \endmppattern \mpfig - fill fullcircle scaled 100 withpostscript "collect"; - draw unitsquare shifted - center unitsquare scaled 45 - withpattern "mypatt" - withpostscript "evenodd" - ; +draw unitsquare shifted -center unitsquare scaled 45 withpostscript "collect" ; +draw fullcircle scaled 100 withpattern "mypatt" withpen pencircle scaled 1 + withcolor \mpcolor{red!50!blue!50} withpostscript "evenodd" ; \endmpfig \begin{mppattern}{pattuncolored} [ @@ -323,7 +323,7 @@ draw mpliboutlinetext.b ("$\displaystyle\frac{1}{1-x^2}$") withgroupname "test:#1" withtransparency (1,.5) ; - currentpicture := currentpicture scaled 3/4; + currentpicture := currentpicture scaled 2/3; \endmpfig }% \hbox{\test{isolated,knockout}\,\test{isolated}\vbox to\MPheight{\vss\hbox{~isolated}\vss}}% |