Hi Wolfgang,
nice patch. I just looked at the comparison of the table type
(http://wiki.contextgarden.net/Tables_Overview). There it says:
tabulate problems: very limited
Add some more stuff and we can change this to 'limited' ;)
Best wishes, Peter
Wolfgang Schuster schrieb:
> 2007/11/7, Peter Rolf <[EMAIL PROTECTED]>:
>> Wolfgang Schuster schrieb:
>>> Hi Peter,
>>>
>>> your solution would be really a option but I hope the real bugs will be
>>> fixed,
>> I see :)
>>
>> So things could be worse. You have
>>
>> - a workaround (?)
>> - a complete minimal description/example of the problem (as starting
>> point for Hans)
>> - some good hints/solution for fixing
>>
>> If you add some patience this all looks quite promising. ;)
>>
>>
>> Best wishes, Peter
>
> Hi Peter,
>
> most of the are also possible with the tabulate environment and I was able
> to get a nearly perfect result (a few minor spacing problems) with it.
>
> \unprotect
>
> \newconditional\tabulaterepeatfoot
>
> \settrue\tabulaterepeatfoot
> %\setfalse\tabulaterepeatfoot
>
> \def\dosplittabulatebox#1%
> {\resettsplit
> \def\tsplitminimumfreelines{2}%
> \def\tsplitminimumfreespace{0pt}%
> \setbox\tsplitcontent\box#1%
> \ifcase\tabulaterepeathead\or
> \setbox\tsplithead\vsplit\tsplitcontent to \lineheight
> \setbox\tsplithead\vbox{\unvbox\tsplithead}%
> \or
> \setbox\tsplithead\vbox{\hbox{\strut\tabulateparameter\c!title}}%
> \fi
> \ifcase\tabulaterepeatfoot
> \setbox\tsplittail\vsplit\tsplitcontent to \lineheight
> \setbox\tsplittail\vbox{\vskip-\strutht\unvbox\tsplittail}%
> \fi
> \handletsplit}
>
> \def\fulltabulatecontent
> {\tabulateheadcontent
> \ifcase\tabulaterepeatfoot
> \tabulatetailcontent
> \tabulatecontent
> \else
> \tabulatecontent
> \tabulatetailcontent
> \fi
> \removefunnytabulateline}
>
> \protect
>
> \setupcolors[state=start]
>
> \starttext
>
> \setuptabulate
> [split=no,
> header=repeat,
> rulecolor=red]
>
> \starttabulatehead
> %\TABLEnoalign{\dotabulaterule\nobreak\vskip-\tabulateparameter{rulethickness}\nobreak}
> \TABLEnoalign{\dotabulaterule\nobreak}
> \NC Head \NC Head \NC\NR
> %\TABLEnoalign{\nobreak\vskip-\tabulateparameter{rulethickness}\nobreak\dotabulaterule}
> \TABLEnoalign{\nobreak\vskip-2\tabulateparameter{rulethickness}\nobreak\dotabulaterule}
> \stoptabulatehead
>
> \starttabulatetail
> \TABLEnoalign{\allowbreak\dotabulaterule\allowbreak}
> \stoptabulatetail
>
> \starttabulate[|l|l|]
> \dorecurse{100}{\expanded{\NC Row \hfill\recurselevel \NC Row
> \hfill\recurselevel \NC\NR}}%
> %\NC Text \NC Text \NC\NR
> \stoptabulate
>
> \stoptext
>
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the
> Wiki!
>
> maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive : https://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___________________________________________________________________________________
>
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________