ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MetaPost shading broken with latest beta
@ 2018-06-23 22:17 Adam Reviczky
  2018-06-24 10:37 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Reviczky @ 2018-06-23 22:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Using the shading function in a metapost image the whole page is
filled in instead of the figure that defines it.

Minimal example as from the metafun manual 8.3.3
(http://www.pragma-ade.nl/general/manuals/metafun-p.pdf):
\starttext
\startMPcode
fill fullsquare xyscaled (1cm,1cm)
withshademethod "linear"
withshadevector (1,0)
withshadecolors (darkred,darkgreen)
;
\stopMPcode
\stoptext

ConTeXt  ver: 2018.06.23 12:12 MKIV beta  fmt: 2018.6.23  int: english/english
luatex version 1.09 with functionality level 6823,
MetaPost 2.00

With this, I get a full A4 page with the shading colors.
This worked until the beta 2018-06-22 16:02 and the desired output is
shown when using live.contextgarden.net.

Thanks,
Adam
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: MetaPost shading broken with latest beta
  2018-06-23 22:17 MetaPost shading broken with latest beta Adam Reviczky
@ 2018-06-24 10:37 ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2018-06-24 10:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Adam Reviczky

On 6/24/2018 12:17 AM, Adam Reviczky wrote:
> Hi,
> 
> Using the shading function in a metapost image the whole page is
> filled in instead of the figure that defines it.
> 
> Minimal example as from the metafun manual 8.3.3
> (http://www.pragma-ade.nl/general/manuals/metafun-p.pdf):
> \starttext
> \startMPcode
> fill fullsquare xyscaled (1cm,1cm)
> withshademethod "linear"
> withshadevector (1,0)
> withshadecolors (darkred,darkgreen)
> ;
> \stopMPcode
> \stoptext
> 
> ConTeXt  ver: 2018.06.23 12:12 MKIV beta  fmt: 2018.6.23  int: english/english
> luatex version 1.09 with functionality level 6823,
> MetaPost 2.00
> 
> With this, I get a full A4 page with the shading colors.
> This worked until the beta 2018-06-22 16:02 and the desired output is
> shown when using live.contextgarden.net.
fixed a next beta ... this relates to the context mp inclusion handler 
now following a one-pass approach (again experimental and only > 1.08)

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* MetaPost shading broken with latest beta
@ 2018-06-24  3:57 Akira Kakuto
  0 siblings, 0 replies; 3+ messages in thread
From: Akira Kakuto @ 2018-06-24  3:57 UTC (permalink / raw)
  To: ntg-context

> With this, I get a full A4 page with the shading colors.
> This worked until the beta 2018-06-22 16:02 and the desired output is
> shown when using live.contextgarden.net.

Even in the previous
mtx-context     | current version: 2018.06.22 15:55
I get a full A4 page with the shading colors if I use
Luatex 1.09.0
Development id: 6823

The desired output is obtained if I use
Luatex 1.08.0
Development id: 6731

So I think the latest experimental binary is problematic
in this example.

Best,
Akira

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-24 10:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-23 22:17 MetaPost shading broken with latest beta Adam Reviczky
2018-06-24 10:37 ` Hans Hagen
2018-06-24  3:57 Akira Kakuto

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