From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73589 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Beta: bug in \setuphead[chapter] Date: Tue, 3 Jan 2012 14:17:39 +0100 Message-ID: <3629FD3B-D87C-44B2-BC96-D3BB4EEB7FDB@gmail.com> 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 1325596691 18968 80.91.229.12 (3 Jan 2012 13:18:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 13:18:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 03 14:18:06 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 1Ri4Fi-0005dy-NJ for gctc-ntg-context-518@m.gmane.org; Tue, 03 Jan 2012 14:18:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C46E7CB1B8; Tue, 3 Jan 2012 14:18:05 +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 e6tiSV4nH3se; Tue, 3 Jan 2012 14:18:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A399CB1CE; Tue, 3 Jan 2012 14:18:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C610CCB1CE for ; Tue, 3 Jan 2012 14:17:58 +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 OmM7qSm8rsSM for ; Tue, 3 Jan 2012 14:17:43 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id B8CB8CB1B8 for ; Tue, 3 Jan 2012 14:17:43 +0100 (CET) Original-Received: from mail-lpp01m010-f41.google.com (mail-lpp01m010-f41.google.com [209.85.215.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q03DHg3p021492 for ; Tue, 3 Jan 2012 14:17:42 +0100 Original-Received: by lagv3 with SMTP id v3so5691581lag.14 for ; Tue, 03 Jan 2012 05:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=E+CQlDj2IqlMiA25/Nwl6Ws3BXlYUmH9BAdUH5sF/ug=; b=Tzh73Q4tqlFa4i/rRhYetPYhMre0o3JhRax4f4l4zllHnHYS3bVj1rO4wNGNTxsubw Bkpa6w6IoMzRVl5QRX7vOIvDyfQheT98D5INi27/UbEDo5irc3SibzOFxWhyc/BCtEtD PuTViCH6T9vUc/tobvX++/uBEVySSDbBFuRNs= Original-Received: by 10.152.111.200 with SMTP id ik8mr5802277lab.43.1325596662440; Tue, 03 Jan 2012 05:17:42 -0800 (PST) Original-Received: from dhcp-193-51-32-162.math.uvsq.fr (dhcp-193-51-32-162.math.uvsq.fr. [193.51.32.162]) by mx.google.com with ESMTPS id is1sm10020374lab.1.2012.01.03.05.17.40 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 05:17:41 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1251.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.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: 0rGh1hGf6 - a533c41838fe - 20120103 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:73589 Archived-At: Thanks to both of you, Wolfgang and Aditya, for the explanantions. After applying the patch Wolfgang sent to Aditya, the error message is gone. I guess the patch will be in the next beta. Best regards: OK On 3 janv. 2012, at 14:06, Wolfgang Schuster wrote: > = > 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 =93mid= dle =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 sp= ace 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 i= s different from =93red=94 (without a space). > = > Wolfgang > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________