At 11:23 AM 8/10/2001 -0400, Allin Cottrell wrote:
>\Topic{David Ricardo (1772--1823)

There are a couple of ways [beware of spacing screw up]

\setuphead[Topic][incrementnumber=no]

\Topic{David Ricardo (1772--1823)}

\writetolist[Topic]{}{Whow}

so, now the Topic command will not write to the list but you can. You can 
package this as:

\def\MyTopic#1#2%
   {\Topic{#2}\writetolist[Topic]{}{#1}}

\MyTopic{David}{David Ricardo (1772--1823)}

A prelude to a more general mechanism is the following [i seem to have lost 
some code]

\let\Them\secondoftwoarguments

\setuplist[Topic][textcommand=\let\Them\firstoftwoarguments]

\starttext

\Topic{\Them{Ricardo}{David Ricardo (1772--1823)}}

\stoptext

which is a space safe operation.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       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
-------------------------------------------------------------------------

Reply via email to