From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9839 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: Re: Fun with \setuphead Date: Wed, 13 Nov 2002 15:59:33 -0800 Organization: Imamology Sender: ntg-context-admin@ref.ntg.nl Message-ID: <200211131559.33385.ishamid@attbi.com> References: <5.1.0.14.1.20021113172043.02dbc858@server-1> Reply-To: ntg-context@ref.ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1037235952 20437 80.91.224.249 (14 Nov 2002 01:05:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 14 Nov 2002 01:05:52 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18C8S7-0005JS-00 for ; Thu, 14 Nov 2002 02:05:51 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 5418D10AE9; Thu, 14 Nov 2002 02:07:33 +0100 (MET) Original-Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by ref.ntg.nl (Postfix) with ESMTP id 1B9ED10AE6 for ; Thu, 14 Nov 2002 02:06:29 +0100 (MET) Original-Received: from linux ([12.252.37.110]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021113225923.HHQG6356.rwcrmhc52.attbi.com@linux>; Wed, 13 Nov 2002 22:59:23 +0000 Original-To: ntg-context@ref.ntg.nl, Hans Hagen , ntg-context@ref.vet.uu.nl User-Agent: KMail/1.4.2 In-Reply-To: <5.1.0.14.1.20021113172043.02dbc858@server-1> Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9839 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9839 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 w= ant > > 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=3D\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 se= t=20 things up for my document is \ovocalize. I must keep \onovocalize within = a=20 group, of cours. > > an alternative is : > > \let\HowAboutThis\firstofoneargument > > \chapter{\HowAboutThis{your text}} > > \setuplist[chapter][style=3D\let\HowaboutThis\onovocalize Ok, here's what happens: \let\TOC\firstofoneargument \setuplist [section][style=3D\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. \let \@@lisectionletter ->\let \TOC \onovocalize \p!doifundefined ...t \expandafter \ifx \csname #1 \endcsname \relax \doifdefinedelse #1->\p!doifundefined {#1} \let \donottest \doprocesstest=20 \@E... \do\dodoconvertfont ...fdefinedelse {\@letter@ #1} {\doifelsenothing=20 {#1}\go... ...li \v!paragraaf }\c!letter \c!kleur \empty \!!widthb \hsize= =20 \s... =2E.. l.6 ...z --------------------------- What am I doing wrong? Or is there a better way? Thnx for the help! Best wishes Idris --=20 Dr. Idris S Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523