* ConTeXt MKIV Bug: transparent does not work as should in mplib's textext
@ 2008-11-09 12:27 Yue Wang
2008-11-09 13:35 ` Wolfgang Schuster
2008-11-09 16:32 ` Hans Hagen
0 siblings, 2 replies; 4+ messages in thread
From: Yue Wang @ 2008-11-09 12:27 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
Hi Hans:
It seems that \definecolor[ foobar][some transparent color] does not
work in MKIV. I attach the test file and result pdf in the attachment.
Can you take a look? thanks!
Yue Wang
[-- Attachment #2: card.pdf --]
[-- Type: application/pdf, Size: 4338 bytes --]
[-- Attachment #3: card.tex --]
[-- Type: application/x-tex, Size: 1360 bytes --]
[-- Attachment #4: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ConTeXt MKIV Bug: transparent does not work as should in mplib's textext
2008-11-09 12:27 ConTeXt MKIV Bug: transparent does not work as should in mplib's textext Yue Wang
@ 2008-11-09 13:35 ` Wolfgang Schuster
2008-11-09 13:54 ` Yue Wang
2008-11-09 16:32 ` Hans Hagen
1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2008-11-09 13:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 09.11.2008 um 13:27 schrieb Yue Wang:
> Hi Hans:
>
> It seems that \definecolor[ foobar][some transparent color] does not
> work in MKIV. I attach the test file and result pdf in the attachment.
> Can you take a look? thanks!
It works but in normal text but if you use MetaPost graphics
only the first text is transparent.
\setupcolors[state=start]
\definecolor[tred][a=1,t=.5,r=1]
\starttext
\startluacode
tex.sprint("\\startMPcode")
for i=1,5 do
tex.sprint('label(textext("\\definedfont[Sans sa ' ..
math.random(1,4) .. ']%')
tex.sprint('\\color[tred]{1}"),(10*' .. i .. ',0)) ;')
end
tex.sprint("\\stopMPcode")
\stopluacode
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ConTeXt MKIV Bug: transparent does not work as should in mplib's textext
2008-11-09 12:27 ConTeXt MKIV Bug: transparent does not work as should in mplib's textext Yue Wang
2008-11-09 13:35 ` Wolfgang Schuster
@ 2008-11-09 16:32 ` Hans Hagen
1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2008-11-09 16:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
Yue Wang wrote:
> Hi Hans:
>
> It seems that \definecolor[ foobar][some transparent color] does not
> work in MKIV. I attach the test file and result pdf in the attachment.
> Can you take a look? thanks!
it's some tricky interference between graphic states in the pdf code so
i now opt for a more robust but redundant approach (more color code in
the pdf stream but who cares)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-11-09 16:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-09 12:27 ConTeXt MKIV Bug: transparent does not work as should in mplib's textext Yue Wang
2008-11-09 13:35 ` Wolfgang Schuster
2008-11-09 13:54 ` Yue Wang
2008-11-09 16:32 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).