transparent colors in latest beta
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
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 -----------------------------------------------------------------
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
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Thomas A. Schmitz