ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: clipping bug [or the return of the long cat]
Date: Wed, 11 Jun 2008 16:21:10 +0200	[thread overview]
Message-ID: <484FDF56.4000409@wxs.nl> (raw)
In-Reply-To: <484FDA67.7060601@gmx.net>

Peter Rolf wrote:
> Hans Hagen schrieb:
>> Peter Rolf wrote:
>>> Hans Hagen schrieb:
>>>> meta-ini.mkiv
>>>>
>>>> \def\grabMPclippath#1#2#3#4#5%
>>>>    {\blabelgroup
>>>>     \edef\width {#3\space}\let\overlaywidth \width
>>>>     \edef\height{#4\space}\let\overlayheight\height
>>>>     \doifdefinedelse{MPC:#1}
>>>>       {\xdef\MPclippath{\getvalue{MPC:#1}}%
>>>>        \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi
>>>>        \setxvalue{MPC:#1}{\MPclippath}}
>>>>       {\xdef\MPclippath{#5}}%
>>>>     \elabelgroup}
>>>>
>>>>
>>> there seem to be an ugly sideeffect in combination with \startTEXpage .. 
>>> \stopTEXpage. I use this to encapsulate my test graphics. The resulting 
>>> page is only 1.1mm width (tested with several different sized gfx; width 
>>> is always this value, height is normal).
>>>
>>> all tested with the beta from 07.06.2008 and luatex trunk (08.06.2008). 
>>> todays beta has additional problems with text color (always black) and 
>>> also some unicolored backgrounds appear black only. so i went back to 
>>> the prior beta version and changed only the clip part.
>> hm ... example ...
>>
> 
> % engine=luatex
> 
> \startuniqueMPgraphic {foo}
>    fill OverlayBox;
> \stopuniqueMPgraphic
> 
> \starttext
> 
> \startTEXpage
> 
> \hsize10cm \vsize10cm
> \uniqueMPgraphic{foo}
> 
> \stopTEXpage
> 
> \stoptext

hmm this is actually undefined behaviour since there is no background

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


  reply	other threads:[~2008-06-11 14:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-22 16:02 Peter Rolf
2008-06-09 17:33 ` Peter Rolf
2008-06-09 22:26   ` Hans Hagen
2008-06-10 10:42     ` Peter Rolf
2008-06-10 12:40       ` Hans Hagen
2008-06-10 13:17         ` Peter Rolf
2008-06-11 11:59         ` Wolfgang Schuster
2008-06-11 14:00         ` Peter Rolf
2008-06-11 14:21           ` Hans Hagen [this message]
2008-06-11 17:35             ` Peter Rolf
2008-06-11 17:54               ` Hans Hagen
2008-06-11 18:47                 ` Peter Rolf
2008-06-11 20:30                   ` Hans Hagen
2008-06-11 21:40                     ` Peter Rolf
2008-06-11 12:06       ` Wolfgang Schuster

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=484FDF56.4000409@wxs.nl \
    --to=pragma@wxs.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).