summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/cont-run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/cont-run.lua')
-rw-r--r--tex/context/base/mkiv/cont-run.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/cont-run.lua b/tex/context/base/mkiv/cont-run.lua
index 6c2880438..657973f59 100644
--- a/tex/context/base/mkiv/cont-run.lua
+++ b/tex/context/base/mkiv/cont-run.lua
@@ -247,6 +247,16 @@ local function processjob()
-- context.input(filename)
-- context.stoptext()
+ elseif suffix == "mps" or arguments.forcemps then
+
+ report("processing metapost output: %s",filename)
+
+ context.starttext()
+ context.startTEXpage()
+ context.externalfigure { filename }
+ context.stopTEXpage()
+ context.stoptext()
+
else
-- \writestatus{system}{processing as tex}