From: Idris S Hamid <ishamid@attbi.com>
Subject: Fun with \setuphead
Date: Mon, 11 Nov 2002 16:08:29 -0800 [thread overview]
Message-ID: <200211111608.29574.ishamid@attbi.com> (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
next reply other threads:[~2002-11-12 0:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 0:08 Idris S Hamid [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200211111608.29574.ishamid@attbi.com \
--to=ishamid@attbi.com \
--cc=ntg-context@ref.ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).