![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Mon, Sep 18, 2017 at 10:57 AM, Hans Hagen
On 9/18/2017 10:25 AM, Ursula Hermann wrote:
Hello!
I have tried an example:
1 \starttext 2 This is me 3 \startMPcode 4 u:=0.4cm; 5 dirlabel:=90; 6 abscoord:=true; 7 endlabelspace:=0.5cm; 8 draw startlable ("S") 9 draw tree[1][1]((-5.5u,4u)(5.5u,8u)) ("NP","","VP",""] 10 \stopMPcode 11 \stoptext
but there is somethin wrong, because the mistake says:
Where does that example come from? How is startlable (or maybe startlabel) defined?
there is a startlabel macro texmf-dist/metapost/mptrees/mptrees.mp of the 2017 TeXLive Supposing to compile with the TeXLive enabled, this code works: \starttext This is me \startMPcode input mptrees; u:=0.4cm; dirlabel:=90; abscoord:=true; endlabelspace:=0.5cm; draw startlabel("$S$"); draw tree[1][1]((-5.5u,4u),(5.5u,8u))("NP","","VP",""); \stopMPcode \stoptext -- luigi