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

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