On 2014-03-01 04:59, Wolfgang Schuster wrote:

Am 01.03.2014 um 04:39 schrieb Rik Kabel <context@rik.users.panix.com>:

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
1. You have a spelling error in the stop command.

2. Put braces around the argument names.


% macros=mkvi

\starttexdefinition Test #{PARAM}¦#{ETER}.
  #{PARAM}, #{ETER}!
\stoptexdefinition

\starttext

\Test No soap¦{radio}.

\stoptext


Wolfgang

Thank you, Wolfgang, for that. My usual mistake there is to type stoptextdefinition, with an extra t.

--
Rik