Ville Voipio wrote:
\setuphead[title] [deeptextcommand=\WORD]
Does that work?
It does, it does!!!!
You just saved my night. Can I send you a pint of beer somewhere?
---
I tried finding more information about deeptextcommand, but all I found was a brief comment about deep hooks in the release notes (19-Jan-06). I can write something about this into Wiki, but that requires me to understand a bit more. Where do I start looking for?
Don't do this if you don't want to get a nightmare ... \def\ShowTwoArguments#1#2% {\showargument{#1}% \showargument{#2}} \setuphead[chapter][command=\ShowTwoArguments] \chapter{test} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------