setuplayout with duplex -> shifted textarea
![](https://secure.gravatar.com/avatar/8e959e34d3ee752e8d7453cce6f85fdd.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 10/14/2013 8:00 PM, Zenlima wrote:
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?
I have no time not to look into it, but changing the layout halfways a page for sure has side effects as the page builder then is using the current one and some of the action is delayed till the page builder 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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Zenlima