From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45547 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: setuphead[section][style=cap] does not work Date: Thu, 13 Nov 2008 10:23:19 -0500 (EST) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226590015 12836 80.91.229.12 (13 Nov 2008 15:26:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 15:26:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 13 16:27:56 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1L0e6f-0006hQ-1k for gctc-ntg-context-518@m.gmane.org; Thu, 13 Nov 2008 16:27:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BD791FC72; Thu, 13 Nov 2008 16:26:30 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24250-01-2; Thu, 13 Nov 2008 16:25:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A913F1FC20; Thu, 13 Nov 2008 16:25:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D6D111FBEB for ; Thu, 13 Nov 2008 16:25:18 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24144-01-3 for ; Thu, 13 Nov 2008 16:24:17 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id B81501FC5A for ; Thu, 13 Nov 2008 16:24:16 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY hackers.mr.itd.umich.edu ID 491C469F.72BCD.26816 ; 13 Nov 2008 10:24:15 -0500 In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:45547 Archived-At: On Thu, 13 Nov 2008, richard.stephens@converteam.com wrote: > > Hello, > > I want section headings to be in capitals, but when I use: > \setuphead[section][style=cap] > I get an error as follows: > > ! Argument of \getvalue has an extra }. > > \par > > } > \uppercased ...d \xdef \@@expanded {\uppercase {#1 > }}}\@@expanded > \dodosmallcapped ...alize \cap@@uppercase {#1{#2}} > \egroup > \doplaceheadnumbertext ...o #1}\c!style \getvalue > {\??ko #1\c!command > }{\dos... > > \dodododoconstructhead ...{\finalsectionnumber }}} > \writesection > {#1}{#3}{#4}... > l.58 \section{Introduction} I can comfirm this, in MKII. But I don't know a solution. > > P.S. How do I get a full stop after the section number? \setuplabeltext[section={{},{.}}] Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________