ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* transparent colors in latest beta
@ 2009-04-15  8:54 Thomas A. Schmitz
  2009-04-15  9:46 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas A. Schmitz @ 2009-04-15  8:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

the bad news is that transparent colors don't work at all in the latest
beta with mkiv (they worked on and off with the beta before that). The  
good
news is that this makes it easier to build a minimal example :-) Here  
comes:

\setupcolors[state=start]

\starttext

\startuseMPgraphic{test}
pair a, b, c, d ;
a = (0,0) ; b = (0,5cm) ; c = (5cm,5cm) ; d = (5cm,0) ;
path p ; p = a -- b -- c -- d -- cycle ;
draw a -- c withcolor black ;
fill p withcolor transparent (1,0.25,red) ;
\stopuseMPgraphic

\useMPgraphic{test}

\stoptext

All best

Thomas

___________________________________________________________________________________
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] 5+ messages in thread

* Re: transparent colors in latest beta
  2009-04-15  8:54 transparent colors in latest beta Thomas A. Schmitz
@ 2009-04-15  9:46 ` Hans Hagen
  2009-04-15 10:02   ` Thomas A. Schmitz
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2009-04-15  9:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:
> Hi Hans,
> 
> the bad news is that transparent colors don't work at all in the latest
> beta with mkiv (they worked on and off with the beta before that). The good
> news is that this makes it easier to build a minimal example :-) Here 
> comes:
> 
> \setupcolors[state=start]
> 
> \starttext
> 
> \startuseMPgraphic{test}
> pair a, b, c, d ;
> a = (0,0) ; b = (0,5cm) ; c = (5cm,5cm) ; d = (5cm,0) ;
> path p ; p = a -- b -- c -- d -- cycle ;
> draw a -- c withcolor black ;
> fill p withcolor transparent (1,0.25,red) ;
> \stopuseMPgraphic
> 
> \useMPgraphic{test}
> 
> \stoptext

has to do with a confused page state (side effect of new numbering code)

you can try the beta (maybe other bugs were introduced now)

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] 5+ messages in thread

* Re: transparent colors in latest beta
  2009-04-15  9:46 ` Hans Hagen
@ 2009-04-15 10:02   ` Thomas A. Schmitz
  2009-04-15 10:15     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas A. Schmitz @ 2009-04-15 10:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Apr 15, 2009, at 11:46 AM, Hans Hagen wrote:

> has to do with a confused page state (side effect of new numbering  
> code)
>
> you can try the beta (maybe other bugs were introduced now)

Yes, looks like a file was forgotten:

I can't find file `trac-lmx.tex'.
<to be read again>
                    \relax
l.77 \loadmkivfile{trac-lmx.tex}

All best

Thomas
___________________________________________________________________________________
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] 5+ messages in thread

* Re: transparent colors in latest beta
  2009-04-15 10:02   ` Thomas A. Schmitz
@ 2009-04-15 10:15     ` Hans Hagen
  2009-04-15 12:33       ` Thomas A. Schmitz
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2009-04-15 10:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thomas A. Schmitz wrote:
> 
> On Apr 15, 2009, at 11:46 AM, Hans Hagen wrote:
> 
>> has to do with a confused page state (side effect of new numbering code)
>>
>> you can try the beta (maybe other bugs were introduced now)
> 
> Yes, looks like a file was forgotten:
> 
> I can't find file `trac-lmx.tex'.
> <to be read again>
>                    \relax
> l.77 \loadmkivfile{trac-lmx.tex}

ah, indeed some reshuffing of code ... new beta in 10 min

-----------------------------------------------------------------
                                           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] 5+ messages in thread

* Re: transparent colors in latest beta
  2009-04-15 10:15     ` Hans Hagen
@ 2009-04-15 12:33       ` Thomas A. Schmitz
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas A. Schmitz @ 2009-04-15 12:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Apr 15, 2009, at 12:15 PM, Hans Hagen wrote:

> ah, indeed some reshuffing of code ... new beta in 10 min

Great, transparency now works in the 12:17 beta, thanks Hans!

All best

Thomas
___________________________________________________________________________________
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] 5+ messages in thread

end of thread, other threads:[~2009-04-15 12:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-15  8:54 transparent colors in latest beta Thomas A. Schmitz
2009-04-15  9:46 ` Hans Hagen
2009-04-15 10:02   ` Thomas A. Schmitz
2009-04-15 10:15     ` Hans Hagen
2009-04-15 12:33       ` Thomas A. Schmitz

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).