Difference between revisions of "User talk:Zenlima"

From ConTeXt wiki
Jump to navigationJump to search
m
Line 68: Line 68:
 
==[stacking=continue] does not solve the problem==
 
==[stacking=continue] does not solve the problem==
  
With the [stacking=continue] added nothing changes so far. It will give the same results like without it.
+
With the [stacking=continue] added nothing changes so far. It will give the same results like with empty lines and without [stacking=continue].
  
 
  (same header like above)
 
  (same header like above)

Revision as of 12:36, 9 May 2012

Hi, I use this page to support my question regarding context and summarize the result. Once a problem is solved I will move that text into the "normal" wiki pages.

Bug(?): duplex with margins

Problem: At the moment mkiv creates wired margin on every duplex page. It appears when lines seperates the margins.

\definelayout[WithMarginnotes] [grid=no,topspace=3cm,height=24cm,backspace=3cm,cutspace=0cm,leftmargin=1cm,leftmargindistance=0.4cm,width=12.1cm,rightmargindistance=0.4cm,rightmargin=3.5cm]
\setuplayout[WithMarginnotes]
\setuppagenumbering[alternative=doublesided,location=]
\showframe

\starttext

\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

\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

\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 

\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 

\stoptext

Duplex-margin-with-empty-lines-without-continue.png

As you can see two problems occur:

  1. on the duplex page inner and outer margin are wrong places
  2. the with is also a little confused (maybe of the misplacing)
  3. the margins are overlapping

Once the empty lines are removes

(same header like above)

\starttext

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

\stoptext

the result is ok:

Duplex-margin-without-empty-lines.png

But this is only a theoretical construction. In real life texting you have often empty lines.

[stacking=continue] does not solve the problem

With the [stacking=continue] added nothing changes so far. It will give the same results like with empty lines and without [stacking=continue].

(same header like above)

\starttext

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\ininner[stacking=continue]{X X X X X X X X X X X X}\inouter[stacking=continue]{M M M M M M M M M M M M }\input tufte

\stoptext