![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
At 19:39 23/04/2003 +0200, Maarten Sneep wrote:
Hi again.
I've progressed a little. I've defined my private command the will generate the heading as I want it to come out. This command works when in stand-alone mode, for testing purposes. It nicely leaves everything after it on the grid, just like I want it.
When you want to read along with what I'm doing, the code can be found here: http://www.nat.vu.nl/~sneep/msneep.tex
Problem is that when I say: \setuphead[chapter][command=\MyChapCommand]
some unexpected side effects occur, and an error appears (message reproduced below). When I remove the \placeongrid code, another error (undefined control sequence) comes up. And I'd really like to stay on grid...
I would really appreciate it if someone could take a look at the code and suggest some improvements.
Kind regards,
Maarten Sneep
! Missing } inserted. <inserted text> } <to be read again> \vskip
this normally means that you are in the wrong mode, try to add \endgraf or put a vbox around your code; this messag eis about one of the fuzziest that tex can bring up Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------