Am 01.09.22 um 18:45 schrieb Taco Hoekwater:


On 1 Sep 2022, at 18:28, Henning Hraban Ramm via ntg-context 
<ntg-context@ntg.nl> wrote:

Am 01.09.22 um 15:40 schrieb Taco Hoekwater:
Adding grouping makes sense:

def Moire(expr size)(text densities)=
begingroup
endgroup
As that at least makes it an expression instead of a statement list.
But also depthless() is never defined?

Oops, I forgot to copy that part (confusing source...)

It still doesn’t compile:

Missing definition of “width()”, from this line:


          xs := width(q)-width(p);

Adding that should do the trick.

YES, thank you!

I never know which function is part of MetaPost/MetaFun, my editor’s syntax highlighting is incomplete...

Hraban

Attachment: moireetest.tex
Description: TeX document

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to