ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris S Hamid <ishamid@attbi.com>
Subject: Re: Fun with \setuphead
Date: Wed, 13 Nov 2002 16:27:50 -0800	[thread overview]
Message-ID: <200211131627.50347.ishamid@attbi.com> (raw)
In-Reply-To: <5.1.0.14.1.20021113172043.02dbc858@server-1>

On Wednesday 13 November 2002 08:24, Hans Hagen wrote:
> At 04:08 PM 11/11/2002 -0800, Idris S Hamid wrote:
> >(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.)
>
> What does onovovalize do? Can you use:
>
> \setuplist[chapter][style=\onovocalize]
>
> (possible of it's just some setting, not if it's some parsing)
>
> an alternative is :
>
> \let\HowAboutThis\firstofoneargument
>
> \chapter{\HowAboutThis{your text}}
>
> \setuplist[chapter][style=\let\HowaboutThis\onovocalize

The following trick works for now:

{\onovocalize\placecontent}

Of course it would be nicer to set this up for each type of list, but it's 
rare that I would want e.g. chapters globally vocalized and sections globally 
not vocalized in the TOC. For individual cases I can can always make explicit 
declarations where needed. 

Thnx again
Idris

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

      parent reply	other threads:[~2002-11-14  0:27 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
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 message]

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=200211131627.50347.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).