From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87683 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Keyword order problem Date: Tue, 03 Jun 2014 22:55:01 -0400 Message-ID: <538E8A85.5080908@rik.users.panix.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1727393405==" X-Trace: ger.gmane.org 1401850536 3246 80.91.229.3 (4 Jun 2014 02:55:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Jun 2014 02:55:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 04 04:55:29 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 1Ws1MP-0004s1-5C for gctc-ntg-context-518@m.gmane.org; Wed, 04 Jun 2014 04:55:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 71A7210226 for ; Wed, 4 Jun 2014 04:55:28 +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 SeXZku8E7lx1 for ; Wed, 4 Jun 2014 04:55:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 92BB910201 for ; Wed, 4 Jun 2014 04:55:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3616101E3 for ; Wed, 4 Jun 2014 04:55:17 +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 vZZBUdmWGqVp for ; Wed, 4 Jun 2014 04:55:16 +0200 (CEST) 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 C3111101E2 for ; Wed, 4 Jun 2014 04:55:10 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s542t9WL017344 for ; Wed, 4 Jun 2014 04:55:09 +0200 Original-Received: from [192.168.201.179] (cpe-67-240-55-150.nycap.res.rr.com [67.240.55.150]) by mailbackend.panix.com (Postfix) with ESMTP id 473B1351D2 for ; Tue, 3 Jun 2014 22:55:08 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=166.84.1.89; country=US; region=New York; city=Richmond Hill; latitude=40.7005; longitude=-73.8345; http://maps.google.com/maps?q=40.7005,-73.8345&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QMa2T9JF - 98bfc4cafa22 - 20140604 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87683 Archived-At: This is a multi-part message in MIME format. --===============1727393405== Content-Type: multipart/alternative; boundary="------------010502080400090009030308" This is a multi-part message in MIME format. --------------010502080400090009030308 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Keyword order appears to matter for the \blank command. The following example shows all orderings for the set {dimension, nowhite, samepage}, some of which work and some of which do not. It also shows two orderings of {dimension, nowhite, samepage, disable}; one works and the other does not. This happens with TL13 as well as the 2014-06-01 beta. I can find no discussion of keyword ordering in the wiki, on the mailing list, or in the manuals. Is this intentional, and if so, with what other commands are keywords similarly constrained? Whether or not this is intentional, can a developer please provide a suggested ordering to use until this is better documented or corrected? The order that keywords are presented in the wiki and in the reference manual are among those that fail. \starttext \subject{Without disable} 12pt,samepage,nowhite\blank[12pt,samepage,nowhite] works 12pt,nowhite,samepage\blank[12pt,nowhite,samepage] fails samepage,12pt,nowhite\blank[samepage,12pt,nowhite] fails samepage,nowhite,12pt\blank[samepage,nowhite,12pt] works nowhite,12pt,samepage\blank[nowhite,12pt,samepage] works nowhite,samepage,12pt\blank[nowhite,samepage,12pt] works \subject{With disable} 12pt,samepage,nowhite,disable\blank[12pt,samepage,nowhite,disable] works samepage,12pt,nowhite,disable\blank[samepage,12pt,nowhite,disable] fails \stoptext -- Rik Kabel --------------010502080400090009030308 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Keyword order appears to matter for the \blank command. The following example shows all orderings for the set  {dimension, nowhite, samepage}, some of which work and some of which do not. It also shows two orderings of {dimension, nowhite, samepage, disable}; one works and the other does not. This happens with TL13 as well as the 2014-06-01 beta.

I can find no discussion of keyword ordering in the wiki, on the mailing list, or in the manuals.

Is this intentional, and if so, with what other commands are keywords similarly constrained? Whether or not this is intentional, can a developer please provide a suggested ordering to use until this is better documented or corrected? The order that keywords are presented in the wiki and in the reference manual are among those that fail.
\starttext
\subject{Without disable}

12pt,samepage,nowhite\blank[12pt,samepage,nowhite]
works

12pt,nowhite,samepage\blank[12pt,nowhite,samepage]
fails

samepage,12pt,nowhite\blank[samepage,12pt,nowhite]
fails

samepage,nowhite,12pt\blank[samepage,nowhite,12pt]
works

nowhite,12pt,samepage\blank[nowhite,12pt,samepage]
works

nowhite,samepage,12pt\blank[nowhite,samepage,12pt]
works

\subject{With disable}

12pt,samepage,nowhite,disable\blank[12pt,samepage,nowhite,disable]
works

samepage,12pt,nowhite,disable\blank[samepage,12pt,nowhite,disable]
fails

\stoptext

--
Rik Kabel
--------------010502080400090009030308-- --===============1727393405== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1727393405==--