From: Idris S Hamid <ishamid@attbi.com>
Subject: Re: Fun with \setuphead
Date: Wed, 13 Nov 2002 15:59:33 -0800 [thread overview]
Message-ID: <200211131559.33385.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)
\onovocalize calls up a different list of ocp's. The default as I have set
things up for my document is \ovocalize. I must keep \onovocalize within a
group, of cours.
>
> an alternative is :
>
> \let\HowAboutThis\firstofoneargument
>
> \chapter{\HowAboutThis{your text}}
>
> \setuplist[chapter][style=\let\HowaboutThis\onovocalize
Ok, here's what happens:
\let\TOC\firstofoneargument
\setuplist [section][style=\let\TOC\onovocalize]
Here's my section:
\section{\TOC{'a.sAlaTu al-'aysi 'aw 'a.sAlaTu al-.s.sayrUraTi?}}
Here's what I get:
----------------------------
! Missing \endcsname inserted.
<to be read again>
\let
\@@lisectionletter ->\let
\TOC \onovocalize
\p!doifundefined ...t \expandafter \ifx \csname #1
\endcsname \relax
\doifdefinedelse #1->\p!doifundefined {#1}
\let \donottest \doprocesstest
\@E...
\do\dodoconvertfont ...fdefinedelse {\@letter@ #1}
{\doifelsenothing
{#1}\go...
<argument> ...li \v!paragraaf }\c!letter \c!kleur
\empty \!!widthb \hsize
\s...
...
l.6 ...z
---------------------------
What am I doing wrong? Or is there a better way? Thnx for the help!
Best wishes
Idris
--
Dr. Idris S Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
next prev parent reply other threads:[~2002-11-13 23:59 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 [this message]
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=200211131559.33385.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).