diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:57 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-01-05 19:27:57 +0100 |
commit | 351a9b8969960cc2a1b795a63de1a5a3d3e6e4d9 (patch) | |
tree | ea45c7b7d021148f993bf79a79969141f405b092 /tex/context/base/mlib-pps.lua | |
parent | 5e5b7116e78d1cb847434ef29a9fed154e49adf9 (diff) | |
download | context-351a9b8969960cc2a1b795a63de1a5a3d3e6e4d9.tar.gz |
beta 2012.01.02 19:23
Diffstat (limited to 'tex/context/base/mlib-pps.lua')
-rw-r--r-- | tex/context/base/mlib-pps.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tex/context/base/mlib-pps.lua b/tex/context/base/mlib-pps.lua index 1d3798a0c..85766a866 100644 --- a/tex/context/base/mlib-pps.lua +++ b/tex/context/base/mlib-pps.lua @@ -736,21 +736,21 @@ local function tx_analyze(object,prescript) -- todo: hash content and reuse them -- no color elseif #c == 1 then if a and t then - s = format("\\colored[s=%f,a=%f,t=%f]%s",c[1],a,t,s) + s = format("\\directcolored[s=%f,a=%f,t=%f]%s",c[1],a,t,s) else - s = format("\\colored[s=%f]%s",c[1],s) + s = format("\\directcolored[s=%f]%s",c[1],s) end elseif #c == 3 then if a and t then - s = format("\\colored[r=%f,g=%f,b=%f,a=%f,t=%f]%s",c[1],c[2],c[3],a,t,s) + s = format("\\directcolored[r=%f,g=%f,b=%f,a=%f,t=%f]%s",c[1],c[2],c[3],a,t,s) else - s = format("\\colored[r=%f,g=%f,b=%f]%s",c[1],c[2],c[3],s) + s = format("\\directcolored[r=%f,g=%f,b=%f]%s",c[1],c[2],c[3],s) end elseif #c == 4 then if a and t then - s = format("\\colored[c=%f,m=%f,y=%f,k=%f,a=%f,t=%f]%s",c[1],c[2],c[3],c[4],a,t,s) + s = format("\\directcolored[c=%f,m=%f,y=%f,k=%f,a=%f,t=%f]%s",c[1],c[2],c[3],c[4],a,t,s) else - s = format("\\colored[c=%f,m=%f,y=%f,k=%f]%s",c[1],c[2],c[3],c[4],s) + s = format("\\directcolored[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) -- combine colored in here, saves call |