[NTG-context] beta

Hans Hagen pragma at wxs.nl
Tue Sep 19 09:07:47 CEST 2006


Bernd Militzer wrote:
> Peter M�nster schrieb:
>   
>> On Mon, 18 Sep 2006, Bernd Militzer wrote:
>>
>>   
>>     
>>> {\startcombination[2]
>>>     
>>>       
>> "2" is not a matrix. Try \startcombination[1*2] or \startcombination[2*1].
>> Cheers, Peter
>>
>>   
>>     
> thanks Peter,
> it works again. With version 5.2.4 it worked also with "2" alone
>   

there was a wrong assignment in the following: (core-mis)

\def\dostartcombination[#1][#2]%
  {\global\setsystemmode{combination}%
   \doifnothing{#1}\firstargumentfalse  
   \doifnothing{#2}\secondargumentfalse 
   \ifsecondargument
     \def\currentcombination{#1}%
     \edef\currentcombinationspec{#2*1*}%
   \else 
     \let\currentcombination\empty
     \doifinstringelse{*}{#1}
       {\edef\currentcombinationspec{#1*1*}}
       {\edef\currentcombinationspec{2*1*}}%
   \fi
   \forgetall
   \doifelse{\combinationparameter\c!height}\v!fit
     \vbox {\vbox to \combinationparameter\c!height}%
   \bgroup
   \expanded{\dodostartcombination[\currentcombinationspec]}}

\startcombination
    {test} {x}
    {test} {x}
\stopcombination

\startcombination[2*1]
    {test} {x}
    {test} {x}
\stopcombination

\startcombination[1*2]
    {test} {x}
    {test} {x}
\stopcombination

\startcombination[2]
    {test} {x}
    {test} {x}
\stopcombination


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list