ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Is there a bug in lmt_shade[...=...,...=...]
@ 2020-07-29 13:43 Keith McKay
  2020-07-29 15:04 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Keith McKay @ 2020-07-29 13:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1591 bytes --]

Hi

Has a bug appeared in the command lmt_shade[ ]?

This used to work before I upgraded.

\setuppapersize [A5, portrait][A4, landscape]

\setuparranging[2UP]

\starttext

\startMPpage

StartPage;

width := PaperWidth ; height := PaperHeight ; unit := cm ;

definecolor [ name = "MyColor1", r = 0.781, g = 0.5, b = 0.5 ] ;

definecolor [ name = "MyColor3", r = 1, g = 1, b = 0.7983 ] ;

draw lmt_shade [

path = unitsquare xscaled width yscaled height,

direction = "up",

alternative = "linear",

colors = { "MyColor1", "MyColor3" },

] ;

StopPage;

\stopMPpage

\stoptext

The console output gives this:

system >

system > ConTeXt ver: 2020.07.29 14:08 LMTX fmt: 2020.7.29 int: 
english/english

system >

metapost > log >

metapost > log > loading metafun, including plain.mp version 1.004 for 
metafun iv and xl

metapost > log >

metapost > log > ! Not a cycle.

metapost > log > <to be read again>

metapost > log > withprescript

metapost > log > <argument> ...i.fill.mfun_shade_path.withprescript

metapost > log > "sh_domain="&decimal.domai...

metapost > log >

metapost > log > image->...ture;currentpicture:=nullpicture;(TEXT3)

metapost > log > ;currentpicture.if.str(SUF...

metapost > log >

metapost > log > lmt_do_shade->...shed.evenly;fi.fi.popparameters;)

metapost > log > endgroup

metapost > log > <scantokens> lmt_do_shade

metapost > log >

metapost > log > <*> ...ar", colors = { "MyColor1", "MyColor3" }, ]

metapost > log > ; StopPage; ;

metapost > log >

system > print height forced to paper height

system > print width forced to paper width

Thanks

Keith


[-- Attachment #1.2: Type: text/html, Size: 8738 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 4+ messages in thread

* Re: Is there a bug in lmt_shade[...=...,...=...]
  2020-07-29 13:43 Is there a bug in lmt_shade[...=...,...=...] Keith McKay
@ 2020-07-29 15:04 ` Hans Hagen
  2020-07-29 15:13   ` Keith McKay
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2020-07-29 15:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Keith McKay

On 7/29/2020 3:43 PM, Keith McKay wrote:

> Has a bug appeared in the command lmt_shade[ ]?
Looks that way. I'll fix it (upload later today). We now have some 
better (potentially more efficient) ways to feed back results into mp so 
that's where the cycle property seems to get lost.

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] 4+ messages in thread

* Re: Is there a bug in lmt_shade[...=...,...=...]
  2020-07-29 15:04 ` Hans Hagen
@ 2020-07-29 15:13   ` Keith McKay
  2020-07-29 18:22     ` Keith McKay
  0 siblings, 1 reply; 4+ messages in thread
From: Keith McKay @ 2020-07-29 15:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks Hans! Much appreciated.

Keith

On 29/07/2020 16:04, Hans Hagen wrote:
> On 7/29/2020 3:43 PM, Keith McKay wrote:
>
>> Has a bug appeared in the command lmt_shade[ ]?
> Looks that way. I'll fix it (upload later today). We now have some 
> better (potentially more efficient) ways to feed back results into mp 
> so that's where the cycle property seems to get lost.
>
> 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] 4+ messages in thread

* Re: Is there a bug in lmt_shade[...=...,...=...]
  2020-07-29 15:13   ` Keith McKay
@ 2020-07-29 18:22     ` Keith McKay
  0 siblings, 0 replies; 4+ messages in thread
From: Keith McKay @ 2020-07-29 18:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks again Hans, lmt_shade now works as before.

Keith

On 29/07/2020 16:13, Keith McKay wrote:
> Thanks Hans! Much appreciated.
>
> Keith
>
> On 29/07/2020 16:04, Hans Hagen wrote:
>> On 7/29/2020 3:43 PM, Keith McKay wrote:
>>
>>> Has a bug appeared in the command lmt_shade[ ]?
>> Looks that way. I'll fix it (upload later today). We now have some 
>> better (potentially more efficient) ways to feed back results into mp 
>> so that's where the cycle property seems to get lost.
>>
>> 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] 4+ messages in thread

end of thread, other threads:[~2020-07-29 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-29 13:43 Is there a bug in lmt_shade[...=...,...=...] Keith McKay
2020-07-29 15:04 ` Hans Hagen
2020-07-29 15:13   ` Keith McKay
2020-07-29 18:22     ` Keith McKay

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