From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73587 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Beta: bug in \setuphead[chapter] Date: Tue, 3 Jan 2012 14:06:15 +0100 Message-ID: References: <29F3E85B-66B3-49BD-9E79-C6717F454513@gmail.com> <838C8381-A117-4B21-8D2B-D513A04CFE39@googlemail.com> <63847A47-0EA0-418C-BB6A-B190990CDD98@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1325596002 14064 80.91.229.12 (3 Jan 2012 13:06:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 13:06:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 03 14:06:38 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri44Z-0000dz-A5 for gctc-ntg-context-518@m.gmane.org; Tue, 03 Jan 2012 14:06:35 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B60FECB1D5; Tue, 3 Jan 2012 14:06:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2ysi8jCItePd; Tue, 3 Jan 2012 14:06:31 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B039CB1CE; Tue, 3 Jan 2012 14:06:31 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B41F2CB1CE for ; Tue, 3 Jan 2012 14:06:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bQP4aCp241u4 for ; Tue, 3 Jan 2012 14:06:22 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id D90B6CB1CC for ; Tue, 3 Jan 2012 14:06:21 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q03D6Jg7023140 for ; Tue, 3 Jan 2012 14:06:21 +0100 Original-Received: by eekc41 with SMTP id c41so18204825eek.14 for ; Tue, 03 Jan 2012 05:06:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=aP1h1brLfAxfyQtVBBPsoT3P038CG24jrcD3xnjRph8=; b=Z5/NQavKG3XkZUmh2bDJsjfLbgcOT+UuM0V5axIJ31/AFSJ+s/7Z3VTfTwNeIFflCM vwoAu9GEBwo6cElE0F5KHsYpQXK9hqA0DwIrBXb/ECDJaKXlOJ/IKo4Ti2N8+KZokvIa PyOYW1QyLX4iZujl0POl/jBI+HKrFvlyWxPXk= Original-Received: by 10.213.29.67 with SMTP id p3mr6775835ebc.9.1325595979143; Tue, 03 Jan 2012 05:06:19 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFBBD9.dip.t-dialin.net. [87.175.187.217]) by mx.google.com with ESMTPS id b49sm174419187eec.9.2012.01.03.05.06.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 05:06:18 -0800 (PST) In-Reply-To: <63847A47-0EA0-418C-BB6A-B190990CDD98@gmail.com> X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Gh16jc5 - 34eaefd966bf - 20120103 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73587 Archived-At: Am 03.01.2012 um 13:58 schrieb Otared Kavian: > On 3 janv. 2012, at 08:38, Wolfgang Schuster wrote: > = >> [=85] >> You need a command after =93align=3Dmiddle=94 because you assign =93midd= le =94 (with a space) to the align key. > = > Hi Wolfgang, > = > I didn't get exactly what you mean, but saying either of the following: > = > \setuphead[chapter][header=3Dhigh,align=3Dmiddle] > or > \setuphead[chapter][align=3Dmiddle,header=3Dhigh] > or > \setuphead[chapter][align=3Dmiddle, > header=3Dhigh] > or > \setuphead[chapter][header=3Dhigh, > align=3Dmiddle > ] > = > results in an error. While = > = > \setuphead[chapter][align=3Dmiddle, = > header=3Dhigh > ] > = > works fine=85 = It=92s a typo in the core, see Adityas mail but in the last case you need a= comma after the high otherwise you pass the value =93high =94 (with a spac= e at the end) to context. Here is a simple example where you can that spaces matter: \definehighlight[one][color=3Dred ] \definehighlight[two][color=3Dblue] \starttext \one{Red} \two{Blue} \stoptext In the first definition i pass =93red =94 with a space at the end which is = different from =93red=94 (without a space). Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________