[NTG-context] tabulate span broken

Steffen Wolfrum context at st.estfiles.de
Mon Jan 10 15:16:14 CET 2011


Am 10.01.2011 um 14:24 schrieb Hans Hagen:

> On 10-1-2011 10:46, Steffen Wolfrum wrote:
>> Hi,
>> 
>> as far as I remember, the following code worked up to december:
>> 
>> \def\tabulateuse#1%
>>  {\dorecurse{\numexpr2*#1-1\relax}{\span\omit}\raggedright\ignorespaces}
>> 
>> \appendtoks
>>    \let\use\tabulateuse
>>    \defineTABLEshorthands
> 
> remove the previous line as there is no reason why tabulate should inherit all from table
> 
>> \to \everytabulate
>> 
>> \starttext
>> 
>> \starttabulate[|p(4cm)|p(4cm)|p(6cm)|]
>> \NC \dorecurse{10}{text } \NC \dorecurse{8}{text } \NC
>> \dorecurse{18}{text } \NC\NR
>> \NC \TWO Short text spanning two tabulate paragraphs. \NC
> 
> \use2 seems to work but keep in mind that such local patches are not guaranteed to work (one never what logic is used deep down)


... except you :-)

Thanks a lot!
Steffen


More information about the ntg-context mailing list