diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-06-07 15:21:01 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-06-07 15:21:01 +0200 |
commit | a9c0902d867e6e44f7503ba67ef1d1debc349b02 (patch) | |
tree | a2a4c5e1f22f27615803e916058cdcd67d9a272a /tex/context/base/mkxl/mlib-pdf.mkxl | |
parent | e3a0d092848f3f128742ffe478334651ab18e8dc (diff) | |
download | context-a9c0902d867e6e44f7503ba67ef1d1debc349b02.tar.gz |
2021-06-07 14:41:00
Diffstat (limited to 'tex/context/base/mkxl/mlib-pdf.mkxl')
-rw-r--r-- | tex/context/base/mkxl/mlib-pdf.mkxl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/mlib-pdf.mkxl b/tex/context/base/mkxl/mlib-pdf.mkxl index 6ded23514..d8b800ba1 100644 --- a/tex/context/base/mkxl/mlib-pdf.mkxl +++ b/tex/context/base/mkxl/mlib-pdf.mkxl @@ -46,7 +46,7 @@ \global\MPurx \zeropoint \global\MPury \zeropoint} -\aliased\let\popMPboundingbox\relax +\permanent\protected\lettonothing\popMPboundingbox \permanent\protected\def\pushMPboundingbox {\enforced\permanent\protected\edef\popMPboundingbox @@ -88,14 +88,23 @@ % MPLIB specific: +% \permanent\protected\def\startMPLIBtoPDF#1#2#3#4% +% {\meta_process_graphic_figure_start +% \dostarttagged\t!mpgraphic\empty +% \naturalhpack attr \imageattribute \plusone \bgroup +% \dousecolorparameter\s!black\forcecolorhack +% \setMPboundingbox{#1}{#2}{#3}{#4}% +% \setbox\MPbox\vpack\bgroup +% % \forgetall % already done elsewhere +% \noindent} % forces the proper cm in the backend + \permanent\protected\def\startMPLIBtoPDF#1#2#3#4% {\meta_process_graphic_figure_start \dostarttagged\t!mpgraphic\empty \naturalhpack attr \imageattribute \plusone \bgroup - \dousecolorparameter\s!black\forcecolorhack + \dousecolorparameter\s!black \setMPboundingbox{#1}{#2}{#3}{#4}% \setbox\MPbox\vpack\bgroup - % \forgetall % already done elsewhere \noindent} % forces the proper cm in the backend \permanent\protected\def\stopMPLIBtoPDF |