From: Idris S Hamid <ishamid@attbi.com>
Subject: Re: Fun with \setuphead
Date: Mon, 11 Nov 2002 16:21:25 -0800 [thread overview]
Message-ID: <200211111621.25206.ishamid@attbi.com> (raw)
In-Reply-To: <200211111608.29574.ishamid@attbi.com>
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
next prev parent reply other threads:[~2002-11-12 0:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 0:08 Idris S Hamid
2002-11-12 0:21 ` Idris S Hamid [this message]
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=200211111621.25206.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).