[NTG-context] (MkVI) Regression in named parameters, TL2013 to current

Rik Kabel context at rik.users.panix.com
Sat Mar 1 15:40:40 CET 2014


On 2014-03-01 04:59, Wolfgang Schuster wrote:
>
> Am 01.03.2014 um 04:39 schrieb Rik Kabel <context at rik.users.panix.com 
> <mailto:context at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140301/1ca5aa7c/attachment-0001.html>


More information about the ntg-context mailing list