ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Marco Patzer <lists@homerow.info>
Subject: Re: Shading and transparency
Date: Wed, 11 Jul 2018 23:11:31 +0200	[thread overview]
Message-ID: <cd47e295-8a93-f936-6275-1f8fa67040bd@xs4all.nl> (raw)
In-Reply-To: <20180711204528.30c66187@homerow>

On 7/11/2018 8:45 PM, Marco Patzer wrote:
> Hi!
> 
> It's shadings and transparency again.
> 
> For most things transparency is not required since the background
> colour (white) can be used instead, to achieve the same effect
> (thanks Hans for the reimplementation/cleanup a while ago). For one
> use case I worked around this by including an external file and
> overlay the external file (see attached example).
> 
> Background: In the actual documents the transparent overlays overlay
> images to have the edges fade into the page background (only the
> centre is of interest).
> 
> Is there a method that does not require an external file or
> pre-processing? Using the external file works. Just wondering if
> there's a better - more integrated - way.
i guess that with some experimenting you can come close but the external 
file that you use uses masks (actually we do support masks in external 
figures) and multiple shades over something in the page stream, stuff 
i'd only look into  when i have to (in principle one can make all kind 
of fancy mechanisms but does it pay off ... seldom)

Hans





-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2018-07-11 21:11 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-11 18:45 Marco Patzer
2018-07-11 21:11 ` Hans Hagen [this message]
2018-07-11 21:40   ` Marco Patzer
2018-07-12  9:21     ` Hans Hagen
2018-07-12 20:08       ` Marco Patzer
2018-07-12 20:59         ` Hans Hagen
2018-07-12 21:53           ` Marco Patzer

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=cd47e295-8a93-f936-6275-1f8fa67040bd@xs4all.nl \
    --to=j.hagen@xs4all.nl \
    --cc=lists@homerow.info \
    --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).