summaryrefslogtreecommitdiff
path: root/tex/context/base/mlib-pps.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-10-12 10:14:00 +0200
committerHans Hagen <pragma@wxs.nl>2011-10-12 10:14:00 +0200
commit4680e3b1c502484cdba78372162dd4f51e398894 (patch)
treec90941ed8418d2ddadf7bbf01342857f705b3122 /tex/context/base/mlib-pps.lua
parentbd9c410acd522b2308bd5c4a60f7f7670ecfa6c9 (diff)
downloadcontext-4680e3b1c502484cdba78372162dd4f51e398894.tar.gz
beta 2011.10.12 10:14
Diffstat (limited to 'tex/context/base/mlib-pps.lua')
-rw-r--r--tex/context/base/mlib-pps.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mlib-pps.lua b/tex/context/base/mlib-pps.lua
index ca3bbaa75..85352d8fc 100644
--- a/tex/context/base/mlib-pps.lua
+++ b/tex/context/base/mlib-pps.lua
@@ -468,7 +468,7 @@ local do_begin_fig = "; beginfig(1) ; "
local do_end_fig = "; endfig ;"
local do_safeguard = ";"
-function metapost.texttextsdata()
+function metapost.textextsdata()
local t, nt, n = { }, 0, 0
for n, box in next, textexts do
if box then
@@ -573,7 +573,7 @@ function metapost.graphic_extra_pass(askedfig)
metapost.process(current_format, {
wrappit and do_begin_fig or "",
no_trial_run,
- concat(metapost.texttextsdata()," ;\n"),
+ concat(metapost.textextsdata()," ;\n"),
current_initializations,
do_safeguard,
current_graphic,
@@ -753,7 +753,7 @@ local function tx_analyze(object,prescript) -- todo: hash content and reuse them
s = format("\\colored[c=%f,m=%f,y=%f,k=%f]%s",c[1],c[2],c[3],c[4],s)
end
end
- context.MPLIBsettext(tx_number,s)
+ context.MPLIBsettext(tx_number,s) -- combine colored in here, saves call
metapost.multipass = true
end
end