On Monday 11 November 2002 16:08, Idris S Hamid wrote:
> Dear coterie,
>
> I have defined another section:
>
> \definehead [SubNote][subsection]
> \setuphead [SubNote][style=bold, number=no]
>
> Now I want to do a certain operation on the argument of \subnote whenever
> it appears in the TOC. The argument should appear in the main text as
> expected:
>
> \SubNote{My Note}
>
> but it should appear as
>
> {\operation My Note}
>
> in the TOC.
>
> Put another way, I want to change/operate upon the lemma that's passed to
> the TOC.
>
> Is there a way I can wrap all this up in the \setuphead command? If not,
> what's the workaround?
I noticed that the argument of \SubNote does not automatically appear in the
TOC. Two questions:
1. How do I turn on the TOC entry for \SubNote{My Note}?
2. The fact that it does not automatically appear in the TOC gives me a
workaround to the original problem:
\SubNote{My Note:}
\writetolist[subsection]{}{\operation My Note"}
This brings up a another part of the original problem:
How do I get \SubNote to automatically append a `:' at the end of every
argument?
Thnx again
Idris
--
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context