Re: [NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Keith McKay

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
___


Re: [NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Keith McKay

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
___


Re: [NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Hans Hagen

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
___


[NTG-context] Is there a bug in lmt_shade[...=...,...=...]

2020-07-29 Thread Keith McKay

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 > 

metapost > log > withprescript

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

metapost > log > "sh_domain="

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

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