ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Hans Hagen <pragma@wxs.nl>
Subject: Re: mlib plugin question
Date: Mon, 15 Aug 2011 11:37:04 +0200	[thread overview]
Message-ID: <4E48E8C0.4000606@gmx.net> (raw)
In-Reply-To: <4E480A3F.20001@wxs.nl>

Am 14.08.2011 19:47, schrieb Hans Hagen:
> On 10-8-2011 8:00, Peter Rolf wrote:
> 
>> Usage:
>>
>> btransp(normaltransparency,.5);
>> <whatever>
>> etransp;
> 
> Officially
> 
>   draw image ( whatever ) withtransparency (normaltransparency,.5)
> 
> should work, but there is a (known) bug in mplib with respect to
> applying scripts to the components of a picture (color works ok).
>
The problem with the current transparency implementation is, that it
doesn't use a transparency stack. If you use nested transparency,
switching back to non transparent (/Tr0) is not what you always want.
That's the only reason for this extra (ugly) plugin.

>> I had a solution for the old 'specials', but I can't find one for the
>> plugin handler. How can I get rid of the 'trigger code'?
> 
> In this respect the converter is kind of black box and there is not
> something like a stack or disable options. Maybe some day but I'd rather
> not touch the code now.
>
OK. I think I found a solution in the meantime (but still to be tested).

Thanks for taking the time.

Peter
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-08-15  9:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10 18:00 Peter Rolf
2011-08-14 17:47 ` Hans Hagen
2011-08-15  9:37   ` Peter Rolf [this message]
2011-08-15 13:26 ` Peter Rolf

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=4E48E8C0.4000606@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).