From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86516 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Re: (MkVI) Regression in named parameters, TL2013 to current Date: Fri, 28 Feb 2014 22:39:12 -0500 Message-ID: <53115660.7020901@rik.users.panix.com> References: <53111F8D.7090705@rik.users.panix.com> <531138AC.7070800@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2058114922==" X-Trace: ger.gmane.org 1393645163 28537 80.91.229.3 (1 Mar 2014 03:39:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2014 03:39:23 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Mar 01 04:39:33 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 1WJalx-0000Jv-8p for gctc-ntg-context-518@m.gmane.org; Sat, 01 Mar 2014 04:39:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D8AE101EC; Sat, 1 Mar 2014 04:39:32 +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 urgVfCbcVFcA; Sat, 1 Mar 2014 04:39:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id C37F0101E8; Sat, 1 Mar 2014 04:39:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4823101E8 for ; Sat, 1 Mar 2014 04:39:27 +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 43Fx9gJAGdk6 for ; Sat, 1 Mar 2014 04:39:26 +0100 (CET) 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 DB1A1101E7 for ; Sat, 1 Mar 2014 04:39:16 +0100 (CET) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s213dEwb018837 for ; Sat, 1 Mar 2014 04:39:14 +0100 Original-Received: from [192.168.9.157] (pool-173-56-235-45.nycmny.fios.verizon.net [173.56.235.45]) by mailbackend.panix.com (Postfix) with ESMTP id A682536318 for ; Fri, 28 Feb 2014 22:39:13 -0500 (EST) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <531138AC.7070800@wxs.nl> 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=NY; city=Richmond Hill; postalcode=11418; latitude=40.7005; longitude=-73.8345; metrocode=501; areacode=718; 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: 0VLw3DeCa - f31605a074cf - 20140301 (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.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:86516 Archived-At: This is a multi-part message in MIME format. --===============2058114922== Content-Type: multipart/alternative; boundary="------------060403080406000705090301" This is a multi-part message in MIME format. --------------060403080406000705090301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable On 2014-02-28 20:32, Hans Hagen wrote: > On 3/1/2014 12:45 AM, Rik Kabel wrote: >> % macros=3Dmkvi >> >> \setupwhitespace[small] >> >> \def\=E4<^>?z{=C4<^>?} > > only letters can make a \cs (not symbols) Clearly this is not currently the case, although I would agree that it=20 should be. Is there any way to enforce it? The definition above=20 processes cleanly on TL2013 and the current beta. The log file shows=20 nothing. And as I wrote in the first note, accepting non-letters (that is, other=20 than the basic unaccented Aa--Zz) makes delimited parameter patterns=20 difficult to use with Mark VI parameter names. Thus, we have the=20 situation described in the following example, when in fact all should=20 work without error (as I understand it, but perhaps \starttexdefinition=20 has other limits of which I am not aware). % macros=3Dmkvi % Fails to compile with TL2013 and current beta %\starttexdefinition Test #1=A6#2. % #1, #2! %\stopdefinition % Fails to compile with TL2013 and current beta %\starttexdefinition Test #PARAM=A6#ETER. % #PARAM, #ETER! %\stopdefinition % Works with TL2013 and processes with errors on current beta %\def\Test#PARAM=A6#ETER.{#PARAM, #ETER!} % Works with TL2013 and current beta \def\Test#1=A6#2.{#1, #2!} \starttext \Test No soap=A6{radio}. \stoptext Perhaps these are two different problems, but they smell the same to me. Finally, assuming that I am correct that \starttexdefinition Test #PARAM=A6#ETER. should work, should \starttexdefinition Test #PARAM =A6 #ETER . work the same. That is, are spaces allowed for readability in the=20 definition pattern, or are they significant? --------------060403080406000705090301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 2014-02-28 20:32, Hans Hagen wrote:
On 3/1/2014 12:45 AM, Rik Kabel wrote:
% macros=mkvi

\setupwhitespace[small]

\def\ä<^>?z{Ä<^>?}

only letters can make a \cs (not symbols)

Clearly this is not currently the case, although I would agree that it should be. Is there any way to enforce it? The definition above processes cleanly on TL2013 and the current beta. The log file shows nothing.

And as I wrote in the first note, accepting non-letters (that is, other than the basic unaccented Aa–Zz) makes delimited parameter patterns difficult to use with Mark VI parameter names. Thus, we have the situation described in the following example, when in fact all should work without error (as I understand it, but perhaps \starttexdefinition has other limits of which I am not aware).

% macros=mkvi

% Fails to compile with TL2013 and current beta
%\starttexdefinition Test #1¦#2.
%  #1, #2!
%\stopdefinition

% Fails to compile with TL2013 and current beta
%\starttexdefinition Test #PARAM¦#ETER.
%  #PARAM, #ETER!
%\stopdefinition

% Works with TL2013 and processes with errors on current beta
%\def\Test#PARAM¦#ETER.{#PARAM, #ETER!}

% Works with TL2013 and current beta
\def\Test#1¦#2.{#1, #2!}

\starttext

\Test No soap¦{radio}.

\stoptext

Perhaps these are two different problems, but they smell the same to me.

Finally, assuming that I am correct that
\starttexdefinition Test #PARAM¦#ETER.
 should work, should
\starttexdefinition Test #PARAM ¦ #ETER .
work the same. That is, are spaces allowed for readability in the definition pattern, or are they significant?
--------------060403080406000705090301-- --===============2058114922== 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 ___________________________________________________________________________________ --===============2058114922==--