On 10-11-2011 14:57, Peter Schorsch wrote:
Hi,

I am not sure but maybe it is a bug: in duplex documents empty lines
causing a mess with the margins on every second page.

Following lines create a fine pdf documents and all margins are set
correctly in the pdf file:

....
\ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
\ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
\ininner{X X X X X X X X X X X X}\inouter{M M M M M M M M M M M
M }\input tufte
....

But as soon I add between every two lines an empty line the margin on
every second page are corrupted. I am using the context version
2011.11.08.

I attached example files to reproduce and show the problem:

        duplex-margin-with-empty-lines.tex>  problem occurs

        duplex-margin-without-empty-lines.tex>  no problem

Can anyone approve this problem? Or did I something totally stupid to
get this result?

it's unrelated to newlines ... it's just that the analysis of stacking works over a limited range (btw, in any case you'd have to say stack=yes in order to get that)

i've added an extra option: continue:

\setuplayout
  [margin=1cm]

\showframe

\starttext

\dorecurse {3} {
    \ininner[stack=yes]{\expanded{\dorecurse{12}{IM\recurselevel\space}}}%
    \inouter[stack=yes]{\expanded{\dorecurse{12}{OM\recurselevel\space}}}%
    \input tufte \par
}

\page

\dorecurse {3} {

\ininner[stack=continue]{\expanded{\dorecurse{12}{IM\recurselevel\space}}}%

\inouter[stack=continue]{\expanded{\dorecurse{12}{OM\recurselevel\space}}}%
    \input tufte \par
}

\stoptext

which will be in the next beta ... quite experimental and not yet tuned


-----------------------------------------------------------------
                                          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
___________________________________________________________________________________

Reply via email to