Hi
 In the line beginning text = there should be a comma at the end.
And you'll need to have the most recent download of ConTeXt as well.
Best Wishes
Keith

On Sat, 15 Nov 2025, 13:53 Alain Delmotte, <[email protected]>
wrote:

> Hi!
>
> This returned a fatal error for me.
>
> Alain
>
> "metapost > trace > loading metafun for lmtx, including the plain 1.004
> base definitions
>
> metapost > trace >
>
> metafun > log >
>
> metafun > log > error: An expression can't begin with 'text'
>
> metafun > log >
>
> metapost > trace > <inserted text> 0
>
> metapost > trace > <to be read again> text
>
> metafun > log >
>
> metafun > log > I'm afraid I need some sort of value in order to continue,
> so I've tentatively
>
> inserted '0'.
>
> metafun > log >
>
> metapost > trace > <direct> path shape ; shape := reverse fullcircle
> xyscaled (500,400) rotated 45 ; drawarrow shape withpen pencircle scaled 1
> withcolor darkgray; path p ; p := lmt_oscillated [ text =
> "\setcharacterkerning [mine]\bf \CONTEXT \ LMTX is FUN! " path = shape,
> resolution = 10, ] ; fill p withcolor darkyellow ; drawpoints p withcolor
> darkred ; ;
>
> metapost > trace >
>
> mtx-context | fatal error: return code: 1
>
>
> "
> Le 13-11-25 à 15:37, Hans Hagen via ntg-context a écrit :
>
> Hi,
>
> The luametafun extensions team (MS, KMc, HH) brings you the following new
> neat feature:
>
> \starttext
>
> \definecharacterkerning
>   [mine]
>   [factor=0.05]
>
> \startMPpage[offset=1TS]
>     path shape ;
>     shape := reverse fullcircle xyscaled (500,400) rotated 45 ;
>     drawarrow  shape withpen pencircle scaled 1 withcolor darkgray;
>     path p ; p := lmt_oscillated [
>         text       = "\setcharacterkerning[mine]\bf\CONTEXT\ LMTX is FUN!
> "
>         path       = shape,
>         resolution = 10,
>     ] ;
>     fill       p withcolor darkyellow ;
>     drawpoints p withcolor darkred ;
> \stopMPpage
>
> \stoptext
>
> Just in case you wondered what happened with Hrabans 'demand' for a new
> feature a while ago. The relevant chapter in the luametafun manual shows a
> few more examples.
>
> 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 : [email protected] /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net
> (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
> ___________________________________________________________________________________
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : [email protected] /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki     : https://wiki.contextgarden.net
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to