ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Some macros (Metafun)
@ 2019-08-09  8:57 Fabrice Couvreur
  2019-08-09 11:12 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Fabrice Couvreur @ 2019-08-09  8:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 468 bytes --]

Hello,
In the Metafun manual, Hans uses macros like drawpath p ; drawcontrollines
p ; drawpoints p ; drawcontrolpoints p ...
How to use them in a document ?
Where to find source codes ?
For example, the following code does not work :

\starttext
\startuseMPgraphic{path}
   path p ; p := (1cm,1cm)--(1.5cm,1.5cm)..(2cm,0cm)..cycle ;
\stopuseMPgraphic

\startMPcode
  p := p .. cycle ; swappointlabels := true ;
  drawpath p ;
\stopMPcode
\stoptext


Thank you
Fabrice

[-- Attachment #1.2: Type: text/html, Size: 2274 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:[~2019-08-11 23:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-09  8:57 Some macros (Metafun) Fabrice Couvreur
2019-08-09 11:12 ` Hans Hagen
2019-08-11 22:40   ` Fabrice Couvreur
2019-08-11 23:41     ` Hans Hagen

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