Hi,

I have a both sided document in which I have to switch the layout
inside a page. If I do that with text only content it works fine, but
as soon I have "bigger" objects (like a table) the textarea get messed
up (shifted horizontally).

I added in this example inner and outer margin notes to make it more
obvious.

Is there a way so solve this "unwanted shifting" like on page 2 of the
attached example?

Thanks,
H.

------8<--------------------------------------------------------
\setuppapersize[A4][A4]

\definelayout[WithoutMarginnotes][location={duplex},grid=no,topspace=3cm,height=24cm,backspace=3cm,cutspace=0cm,leftmargin=1cm,leftmargindistance=0.4cm,width=16cm,rightmargindistance=0cm,rightmargin=0cm]

\definelayout[WithMarginnotes][location={duplex},grid=no,topspace=3cm,height=24cm,backspace=3cm,cutspace=0cm,leftmargin=1cm,leftmargindistance=0.4cm,width=12.1cm,rightmargindistance=0.4cm,rightmargin=3.5cm]

\setuppagenumbering[alternative=doublesided,location=]


\starttext

\setuplayout[WithMarginnotes]

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

\setuplayout[WithoutMarginnotes]

\placetable[split][]{Big table object}
    {
    \setupTABLE[row][1][width=\textwidth]
\bTABLE[split=repeat]
\bTABLEhead
\bTR \bTD XXX \eTD \eTR
\eTABLEhead
\bTABLEbody
\dorecurse{20}{
\bTR \bTD XXX \eTD \eTR}
\eTABLEbody
\eTABLE
}

\setuplayout[WithMarginnotes]

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

\stoptext

Attachment: layoutchange-1.pdf
Description: Adobe PDF document

___________________________________________________________________________________
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