Is there a bug in lmt_shade[...=...,...=...]
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
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
On 7/29/2020 3:43 PM, Keith McKay wrote: 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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Keith McKay