ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fun with \setuphead
@ 2002-11-12  0:08 Idris S Hamid
  2002-11-12  0:21 ` Idris S Hamid
  2002-11-13 16:24 ` Hans Hagen
  0 siblings, 2 replies; 12+ messages in thread
From: Idris S Hamid @ 2002-11-12  0:08 UTC (permalink / raw)


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? 

(For the curious: My main text (including headings) is fully accented. I have 
a command, "\onovocalize" which strips away all the accents. I want all my 
TOC entries to be\onovocalize'ed without affecting the rest of the text and 
need to setup my heads to reflect this.)

Best wishes
Idris
-- 
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2002-11-14 22:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-12  0:08 Fun with \setuphead Idris S Hamid
2002-11-12  0:21 ` Idris S Hamid
2002-11-14 12:48   ` John Culleton
2002-11-14 17:12     ` Hans Hagen
2002-11-13 16:24 ` Hans Hagen
2002-11-13 23:59   ` Idris S Hamid
2002-11-14 10:27     ` Hans Hagen
2002-11-14 19:05       ` Idris S Hamid
2002-11-14 21:18         ` Willi Egger
2002-11-14 22:39           ` Idris S Hamid
2002-11-14 21:51             ` Hans Hagen
2002-11-14  0:27   ` Idris S Hamid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).