ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* strange HLs in tabulate
@ 2009-12-23 21:23 Henning Hraban Ramm
  2009-12-23 21:56 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2009-12-23 21:23 UTC (permalink / raw)
  To: mailing ConTeXt users list for

Hello, trying this:

\starttext

\starttabulate
\dorecurse{200}{\NC Eins \recurselevel \NC Zwei \NC Drei \NC\NR\HL}
\stoptabulate

\stoptext

I get double HLs, and their distance is growing per page.

In my actual document, double lines start on the second or third page.

Very strange...

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: strange HLs in tabulate
  2009-12-23 21:23 strange HLs in tabulate Henning Hraban Ramm
@ 2009-12-23 21:56 ` Wolfgang Schuster
  2009-12-23 22:09   ` Henning Hraban Ramm
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2009-12-23 21:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 23.12.2009 um 22:23 schrieb Henning Hraban Ramm:

> Hello, trying this:
> 
> \starttext
> 
> \starttabulate
> \dorecurse{200}{\NC Eins \recurselevel \NC Zwei \NC Drei \NC\NR\HL}
> \stoptabulate
> 
> \stoptext
> 
> I get double HLs, and their distance is growing per page.
> 
> In my actual document, double lines start on the second or third page.
> 
> Very strange...

Indeed, when I use a penalty > 0 in the rule the output is correct.

\unprotected\def\tabulateMLfive{\TABLEnoalign
  {\dotabulateruleseperator
   \dotabulaterule
   \ifnum\noftabulatelines>\plusone
     \ifnum\noftabulatelines<\minusnoftabulatelines
       %\vskip\topskip\allowbreak\vskip-\topskip
       \vskip\topskip\penalty1\vskip-\topskip
       \vskip-\tabulateparameter\c!rulethickness
       \dotabulaterule
     \fi
   \fi
   \dotabulateruleseperator}}

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: strange HLs in tabulate
  2009-12-23 21:56 ` Wolfgang Schuster
@ 2009-12-23 22:09   ` Henning Hraban Ramm
  2009-12-23 23:12     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2009-12-23 22:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2009-12-23 um 22:56 schrieb Wolfgang Schuster:
>> \starttext
>>
>> \starttabulate
>> \dorecurse{200}{\NC Eins \recurselevel \NC Zwei \NC Drei \NC\NR\HL}
>> \stoptabulate
>>
>> \stoptext
>>
>> I get double HLs, and their distance is growing per page.
>
> Indeed, when I use a penalty > 0 in the rule the output is correct.
>
> \unprotected\def\tabulateMLfive{\TABLEnoalign
>  {\dotabulateruleseperator
>   \dotabulaterule
>   \ifnum\noftabulatelines>\plusone
>     \ifnum\noftabulatelines<\minusnoftabulatelines
>       %\vskip\topskip\allowbreak\vskip-\topskip
>       \vskip\topskip\penalty1\vskip-\topskip
>       \vskip-\tabulateparameter\c!rulethickness
>       \dotabulaterule
>     \fi
>   \fi
>   \dotabulateruleseperator}}

Works for me, too. Thank you very much!


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: strange HLs in tabulate
  2009-12-23 22:09   ` Henning Hraban Ramm
@ 2009-12-23 23:12     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2009-12-23 23:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

On 23-12-2009 23:09, Henning Hraban Ramm wrote:
> Am 2009-12-23 um 22:56 schrieb Wolfgang Schuster:
>>> \starttext
>>>
>>> \starttabulate
>>> \dorecurse{200}{\NC Eins \recurselevel \NC Zwei \NC Drei \NC\NR\HL}
>>> \stoptabulate
>>>
>>> \stoptext
>>>
>>> I get double HLs, and their distance is growing per page.
>>
>> Indeed, when I use a penalty > 0 in the rule the output is correct.
>>
>> \unprotected\def\tabulateMLfive{\TABLEnoalign
>> {\dotabulateruleseperator
>> \dotabulaterule
>> \ifnum\noftabulatelines>\plusone
>> \ifnum\noftabulatelines<\minusnoftabulatelines
>> %\vskip\topskip\allowbreak\vskip-\topskip
>> \vskip\topskip\penalty1\vskip-\topskip

\vskip1\topskip\allowbreak\vskip-1\topskip

also works; some day i need to cook up a better solution



-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-12-23 23:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-23 21:23 strange HLs in tabulate Henning Hraban Ramm
2009-12-23 21:56 ` Wolfgang Schuster
2009-12-23 22:09   ` Henning Hraban Ramm
2009-12-23 23:12     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).