diff options
Diffstat (limited to 'Master/texmf-dist/doc/luatex/luamplib')
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/NEWS | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf | bin | 149508 -> 148905 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex | 9 | ||||
-rw-r--r-- | Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex | 7 |
4 files changed, 15 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/luatex/luamplib/NEWS b/Master/texmf-dist/doc/luatex/luamplib/NEWS index 338804cbd70..109cb4ffcb9 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 +2019/12/11 2.20.4 + * remove unnecessary setting of endlinechar + * \prependtomplibbox instead of \mplibhmodeornot + 2019/11/14 2.20.3 * fix issue #86 (LaTeX command inside metapost label) diff --git a/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf b/Master/texmf-dist/doc/luatex/luamplib/luamplib.pdf Binary files differindex 8d3fc8f72b0..7ddfb315051 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 237a2897480..3e53eb26624 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-latex.tex @@ -31,7 +31,7 @@ draw origin--(1cm,0) withcolor \mpcolor{teal}; draw btex g etex withcolor \mpcolor{orange}; draw btex\tracingcommands0 multi% - \begin{huge}line\end{huge}% + \begin{huge}line\end{huge} texcode with \% etex shifted (10,0); @@ -63,7 +63,7 @@ for i = 1 upto 3: endfor; endfig; \end{mplibcode}% -B\par\leavevmode +B\par\mplibforcehmode \mplibcodeinherit{enable}% \mplibglobaltextext{enable}% \everymplib{ beginfig(0);}\everyendmplib{ endfig;}% @@ -75,6 +75,7 @@ B\par\leavevmode \begin{mplibcode} currentpicture := pic scaled 2; \end{mplibcode}% +\mplibnoforcehmode \everymplib{}\everyendmplib{}% \mplibcodeinherit{disable}% \mplibglobaltextext{disable}\par @@ -101,8 +102,9 @@ endfig; \end{mplibcode}% \newbox\mympbox +\def\prependtomplibbox{\global\setbox\mympbox}% \begin{mplibcode} -verbatimtex \global\setbox\mympbox etex +%verbatimtex \global\setbox\mympbox etex beginfig(0); breadth=.667\mpdim\linewidth; height=2pt; @@ -117,6 +119,7 @@ endfig; \copy\mympbox \copy\mympbox +\mplibnoforcehmode \mplibnumbersystem{double}% \begin{mplibcode} beginfig(0); 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 2161cf2f766..b2be4bece1a 100644 --- a/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex +++ b/Master/texmf-dist/doc/luatex/luamplib/test-luamplib-plain.tex @@ -61,7 +61,7 @@ for i = 1 upto 3: endfor; endfig; \endmplibcode -B\par\leavevmode +B\par\mplibforcehmode \mplibcodeinherit{enable}% \mplibglobaltextext{enable}% \everymplib{ beginfig(0);}\everyendmplib{ endfig;}% @@ -73,6 +73,7 @@ B\par\leavevmode \mplibcode currentpicture := pic scaled 2; \endmplibcode +\mplibnoforcehmode \everymplib{}\everyendmplib{}% \mplibcodeinherit{disable}% \mplibglobaltextext{disable}\par @@ -99,8 +100,9 @@ endfig; \endmplibcode \newbox\mympbox +\def\prependtomplibbox{\global\setbox\mympbox}% \mplibcode -verbatimtex \global\setbox\mympbox etex +%verbatimtex \global\setbox\mympbox etex beginfig(0); breadth=.667\mpdim\hsize; height=2pt; @@ -115,6 +117,7 @@ endfig; \copy\mympbox \copy\mympbox +\mplibnoforcehmode \mplibnumbersystem{double}% \mplibcode beginfig(0); |