![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 2/19/2018 3:21 AM, Jeong Dal wrote:
tex error > tex error on line 4 in file /Users/graph/Documents/TeXfiles/test-mpgraph.tex: ! Undefined control sequence
<argument> \setstrut \begstrut \getheadtitle \endstrut \MPLIBgraphictext ...\startTEXpage [scale=10000]#1 \stopTEXpage l.4 ...\setstrut \begstrut \getheadtitle \endstrut }
1 \starttext 2 \def\MPLIBgraphictext#1{\startTEXpage[scale=10000]#1\stopTEXpage} 3 4 >> \MPLIBgraphictext{\setstrut \begstrut \getheadtitle \endstrut } 5 \stoptext
You're not handling a section head or so so \getheadtitle is meaningless out of that context. How about \setuphead[section][style={\effect[outer]}] which is normally ok for outlines and has been around for ages. (btw, the mp outlin emechanism has changed and doesn't use makempy any longer .. it's better now, see metafun manual etc) 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 -----------------------------------------------------------------