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
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context