On Mon, 15 Nov 2021, Hans Hagen wrote:

> On 11/15/2021 4:07 AM, Aditya Mahajan wrote:
> > On Sun, 14 Nov 2021, Aditya Mahajan via ntg-context wrote:
> > 
> > > On Sun, 14 Nov 2021, Hans Hagen wrote:
> > > 
> > 
> > Spoke too soon. Now straight lines don't work:
> 
> new attempt (submitted to build)

The following still fails with ver 2021.11.19 

    \starttext

    \startMPcode
      newpath p;
      ahfactor := 5;
      p := origin .. (3cm,0);
      draw lmt_arrow
           [
             path = p, 
             location = "percentage",
             percentage = 50,
             alternative = "curved", 
           ]
           withpen pencircle scaled 1bp;
    \stopMPcode
    \stoptext

I get an error:

metafun         > log >
metafun         > log > error: This can't happen (division by zero)
metafun         > log >

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

Reply via email to