Hi,

Indeed there was upon a time such a discussion ... Though not remembering the details, I found a test file and after a small adaptation it gives two pages:
- first page: page-background green (as defined by Context)
- second page: page-background as the first page, text area gets a transparent color with the values "normal, 0.5, white".


The result in Acrobat Reader 7 is indeed not to expectation. The page backround on the second page is still green, though not at all of the same colour.

Apparently there is no mistake in the pdftex-PDF-file because viewing this file with Acrobat 5 (!) the result is as expected. The page-background remains the same green on both pages.

Kind regards Willi

Hans Hagen wrote:
Hi Willy, [cc to context list]

Long ago we mailed about acrobat messing up colors when using transparencies. Well, it looks like it happens again. When transparencies are used, all colors are affected (become darker).

In previous versions, the pag ecache was the troublemaker, dunno what causes it now, since i cannot influence the cache.

Can you test this on your machine as well?

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
% Testfile for transparent colors used as the text-background
% Hans Hagen
% CONTEXT file
% filename: transparentbackground.tex
% W. Egger
% 09-01-2005

\setupoutput[pdftex]

\setupcolors[state=start]

\startuseMPgraphic{tBG}
        path p ;
        p := unitsquare xscaled \overlaywidth yscaled \overlayheight ;
        fill p withcolor transparent("normal",.5,\MPcolor{white}); % This 
however results in fading of ALL of the colors...
\stopuseMPgraphic

\defineoverlay[textBG][\useMPgraphic{tBG}]

\setupbackgrounds[page][background=color,backgroundcolor=green,state=repeat]

\starttext

\input tufte\page

\setupbackgrounds[text][background=textBG,state=repeat]
\input tufte
\stoptext
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to