From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88874 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: setuphead bug? Date: Tue, 7 Oct 2014 16:40:57 +0000 Message-ID: <71816EB6-DEC5-442E-9786-84C75AFE0378@uva.nl> References: <0A72ABBB-3BB0-4257-BAAC-2390079D971A@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0852585435==" X-Trace: ger.gmane.org 1412700122 951 80.91.229.3 (7 Oct 2014 16:42:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2014 16:42:02 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 07 18:41:47 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XbXpa-00013W-Dw for gctc-ntg-context-518@m.gmane.org; Tue, 07 Oct 2014 18:41:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E1A410245 for ; Tue, 7 Oct 2014 18:41:46 +0200 (CEST) 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 Dc7h-G-K44aQ for ; Tue, 7 Oct 2014 18:41:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D8D6810262 for ; Tue, 7 Oct 2014 18:41:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8CE0B10205 for ; Tue, 7 Oct 2014 18:41:07 +0200 (CEST) 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 QrNM50HmfWv9 for ; Tue, 7 Oct 2014 18:41:06 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 55F8D10203 for ; Tue, 7 Oct 2014 18:40:58 +0200 (CEST) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s97GevLD032491 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Tue, 7 Oct 2014 18:40:57 +0200 Original-Received: from MBX02.uva.nl ([169.254.2.81]) by HUB01.uva.nl ([2002:9232:6737::9232:6737]) with mapi id 14.03.0195.001; Tue, 7 Oct 2014 18:40:57 +0200 Thread-Topic: [NTG-context] setuphead bug? Thread-Index: AQHP4kNPfiD06rZcAE+jvh9Q9WME7pwkqUmAgAALmAA= In-Reply-To: <0A72ABBB-3BB0-4257-BAAC-2390079D971A@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [83.81.49.118] X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=146.50.108.230; country=NL; region=North Holland; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VN0gEV4c - b994403a885b - 20141007 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:88874 Archived-At: --===============0852585435== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_71816EB6DEC5442E978684C75AFE0378uvanl_" --_000_71816EB6DEC5442E978684C75AFE0378uvanl_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable \setuphead[chapter][align=3Dmiddle] works out ok for me. Thanks! But then, \setuphead[chapter][alternative=3Dmiddle] seems quite correct, fo= llowing the manual. The else seems strange then. Hans van der Meer On 07 Oct 2014, at 17:59, Otared Kavian > wrote: Don=92t you mean rather \setuphead[chapter][align=3Dmiddle] instead of =AB alternative =BB? Best regards: OK On 07 Oct 2014, at 17:28, Meer, H. van der > wrote: There seems to be a problem in \setuphead, it produces a spurious else from= the alternative=3Dmiddle. In the reference manual I see the possibilities: alternative =3D normal inm= argin middle TEXT. Of these middle is the only one giving the else. minimal example: \setuphead[chapter][alternative=3Dmiddle] \starttext \startchapter[title=3DTITLE] \stopchapter \stoptext Is there a quick repair? ConTeXt ver: 2014.10.06 00:29 MKIV beta fmt: 2014.10.6 int: english/engl= ish Hans van der Meer _____________________________________________________________= ______________________ 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.n= l/mailman/listinfo/ntg-context 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.n= l/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________ --_000_71816EB6DEC5442E978684C75AFE0378uvanl_ Content-Type: text/html; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable \setuphead[chapter][align=3Dmiddle] works out ok for me. Thanks!

But then, \setuphead[chapter][alternative=3Dmiddle] seems quite c= orrect, following the manual. The else seems strange then.

Hans van der Meer



On 07 Oct 2014, at 17:59, Otared Kavian <otared@gmail.com> wrote:

Don=92t you mean rather
\setup= head[chapter][align=3Dmiddle]
instead of =AB alternative =BB?

Best regards: OK

On 07 Oct 2014, at 17:28, Meer, H. van der <H.vanderMeer@uva.nl> wrote:


There seems to be a problem in \setuphead, it produces a spurious else from= the alternative=3Dmiddle. 

In the reference manual I see the possibilities: alternative =3D = normal inmargin middle TEXT. Of these middle is the only one giving the els= e.

minimal example:

\setuphead[chapter][alternative=3Dmiddle]
\starttext
\startchapter[title=3DTITLE]
\stopchapter
\stoptext

Is there a quick repair?

ConTeXt = ver: 2014.10.06 00:29 MKIV beta  fmt: 2014.10.6  int: english/en= glish


Hans van der Meer



<else-bug.pdf>__________________________________________= _________________________________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context"> http://www.ntg.nl/mailman/listinfo/ntg-context
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 / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context"> http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.= nl / http://tex.aanhet.net
archive  : = http://foundry.supelec.fr/projects/contextrev/
wiki     : http://= contextgarden.net
___________________________________________________________________________= ________

--_000_71816EB6DEC5442E978684C75AFE0378uvanl_-- --===============0852585435== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0852585435==--