Re: [NTG-context] Strange page breaks

2012-06-19 Thread Andreas Schneider
On Monday, June 18, 2012, at 12:48 Wolfgang Schuster wrote:
 You can tell context to force a page break when there isn’t enough space for 
 the heading.

 \setuphead[subsubsubject][before={\testpage[6]\blank[big]}]

 Wolfgang

Nice, that does the trick! Thank you!

-- 
Best Regards,
Andreas

pgpaQqC7LdtBj.pgp
Description: PGP signature
___
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
___

Re: [NTG-context] Strange page breaks

2012-06-18 Thread Hans Hagen

On 18-6-2012 09:43, Andreas Schneider wrote:

Hello,

the attached example causes very strange page breaks.

1.  The subsubsubject is the last line on the first page. That doesn't
look very nice.

2. The xtable is broken although the whole table fits on that page.

Is there anything I (or you? :-)) can do about these two problems?

#This is LuaTeX, Version beta-0.70.2-2012052100 (TeX Live 2012/W32TeX)
#ConTeXt  ver: 2012.05.24 19:36 MKIV  fmt: 2012.6.18  int: english/english


not that strange but it's obscured by the fact that you use a float 
(which has different spacing and room-for rules) without caption


in this case you can omit the placefloat and do

\startxtable[header=repeat,split=yes]

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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
___


Re: [NTG-context] Strange page breaks

2012-06-18 Thread Andreas Schneider
On Monday, June 18, 2012, at 11:54 Hans Hagen wrote:
 On 18-6-2012 09:43, Andreas Schneider wrote:
 Hello,

 the attached example causes very strange page breaks.

 1.  The subsubsubject is the last line on the first page. That doesn't
 look very nice.

 2. The xtable is broken although the whole table fits on that page.

 Is there anything I (or you? :-)) can do about these two problems?

 #This is LuaTeX, Version beta-0.70.2-2012052100 (TeX Live 2012/W32TeX)
 #ConTeXt  ver: 2012.05.24 19:36 MKIV  fmt: 2012.6.18  int: english/english

 not that strange but it's obscured by the fact that you use a float 
 (which has different spacing and room-for rules) without caption

 in this case you can omit the placefloat and do

 \startxtable[header=repeat,split=yes]

 Hans

Doesn't  quite  work,  since  then  the header isn't repeated when the
table is actually split.

With  natural  tables there seems to be a similar problem. But I guess
that  enabling  split=yes  will  actually  place  it  inside  a  float
automatically which leads back to the initial problem.

-- 
Best Regards,
Andreas

pgp4OZpHbZ9TL.pgp
Description: PGP signature
___
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
___

Re: [NTG-context] Strange page breaks

2012-06-18 Thread Wolfgang Schuster

Am 18.06.2012 um 12:41 schrieb Andreas Schneider:

 On Monday, June 18, 2012, at 11:54 Hans Hagen wrote:
 On 18-6-2012 09:43, Andreas Schneider wrote:
 Hello,
 
 the attached example causes very strange page breaks.
 
 1.  The subsubsubject is the last line on the first page. That doesn't
 look very nice.
 
 2. The xtable is broken although the whole table fits on that page.
 
 Is there anything I (or you? :-)) can do about these two problems?
 
 #This is LuaTeX, Version beta-0.70.2-2012052100 (TeX Live 2012/W32TeX)
 #ConTeXt  ver: 2012.05.24 19:36 MKIV  fmt: 2012.6.18  int: english/english
 
 not that strange but it's obscured by the fact that you use a float 
 (which has different spacing and room-for rules) without caption
 
 in this case you can omit the placefloat and do
 
 \startxtable[header=repeat,split=yes]
 
 Hans
 
 Doesn't  quite  work,  since  then  the header isn't repeated when the
 table is actually split.
 
 With  natural  tables there seems to be a similar problem. But I guess
 that  enabling  split=yes  will  actually  place  it  inside  a  float
 automatically which leads back to the initial problem.

You can tell context to force a page break when there isn’t enough space for 
the heading.

\setuphead[subsubsubject][before={\testpage[6]\blank[big]}]

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
___


Re: [NTG-context] strange page breaks with latest beta

2009-09-24 Thread Hans Hagen

Peter Münster wrote:

Hello,

2 strange page breaks here (version 2009.09.23 10:07):

\def\mySection{\section{bla}\dorecurse{30}{text }}
\starttext
\title{bla}
\dorecurse3{
  \mySection\par
  bla}
\section{bla}
\dorecurse{30}{text }
\dorecurse3{
  \subsection{bla}
  \bTABLE
  \dorecurse{10}{\bTR \bTD bla \eTD \eTR}
  \eTABLE}
\stoptext


hm, strange indeed; maybe something needs to be adapted to the new 
spacing code


Hans

-
  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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___