summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-pdf.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2013-01-13 23:10:00 +0100
committerHans Hagen <pragma@wxs.nl>2013-01-13 23:10:00 +0100
commitde678e954438110850d93c5f35a0d6bf14129901 (patch)
tree32e0481227cdde042cebbdfc6b99f5efbf5c5756 /tex/context/base/mlib-pdf.mkiv
parentde9b101fa556fa74bf531774293a6913705ff5db (diff)
downloadcontext-de678e954438110850d93c5f35a0d6bf14129901.tar.gz
beta 2013.01.13 23:10
Diffstat (limited to 'tex/context/base/mlib-pdf.mkiv')
-rw-r--r--tex/context/base/mlib-pdf.mkiv20
1 files changed, 11 insertions, 9 deletions
diff --git a/tex/context/base/mlib-pdf.mkiv b/tex/context/base/mlib-pdf.mkiv
index 044c416a2..4deb26203 100644
--- a/tex/context/base/mlib-pdf.mkiv
+++ b/tex/context/base/mlib-pdf.mkiv
@@ -140,15 +140,17 @@
\let\stopMPLIBtoPDF \directstopMPLIBtoPDF
\meta_start_current_graphic
\forgetall
- \normalexpanded{\noexpand\ctxlua{metapost.graphic(
- "\currentMPinstance",
- "\currentMPformat",
- \!!bs#2;\!!es,
- \!!bs\meta_flush_current_initializations;\!!es,
- \!!bs\meta_flush_current_preamble;\!!es,
- \!!bs\meta_flush_current_instance\!!es,
- "all"
- )}}%
+ \normalexpanded{\noexpand\ctxlua{metapost.graphic {
+ instance = "\currentMPinstance",
+ format = "\currentMPformat",
+ data = \!!bs#2;\!!es,
+ initializations = \!!bs\meta_flush_current_initializations\!!es,
+ extensions = \!!bs\meta_flush_current_extensions\!!es,
+ inclusions = \!!bs\meta_flush_current_userinclusions\!!es,
+ definitions = \!!bs\meta_flush_current_definitions\!!es,
+ figure = "all",
+ method = "\MPinstanceparameter\c!method",
+ }}}%
\meta_stop_current_graphic
\meta_end_graphic_group}