ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <w.egger@boede.nl>
Subject: Re: acro bat 7
Date: Sat, 08 Jan 2005 18:44:22 +0100	[thread overview]
Message-ID: <41E01BF6.9010101@boede.nl> (raw)
In-Reply-To: <41DDA6BD.6000703@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]

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

[-- Attachment #2: transparentbackground.tex --]
[-- Type: text/plain, Size: 668 bytes --]

% 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

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

      parent reply	other threads:[~2005-01-08 17:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-06 20:59 Hans Hagen
2005-01-08  7:37 ` Henning Hraban Ramm
2005-01-09 19:42   ` h h extern
2005-01-08 17:44 ` Willi Egger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41E01BF6.9010101@boede.nl \
    --to=w.egger@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).