Difference between revisions of "User talk:Zenlima"

From Wiki
Jump to navigation Jump to search
Line 27: Line 27:
 
   
 
   
 
  \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  
Line 32: Line 34:
 
  \stoptext
 
  \stoptext
  
(Picture of pdf)
+
[[File:duplex-margin-with-empty-lines-without-continue.png]]
 +
 
 +
As you can see two problems occur:
 +
# on the duplex page inner and outer margin are wrong places
 +
# the with is also a little confused (maybe of the misplacing)
 +
# the margins are overlapping
  
Once the empty lines are removes  
+
Once the empty lines are removes
  
 
  (same header like above)
 
  (same header like above)
Line 40: Line 47:
 
  \starttext
 
  \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
Line 58: Line 66:
 
But this is only a theoretical construction. In real life texting you have often empty lines.
 
But this is only a theoretical construction. In real life texting you have often empty lines.
  
==[stacking=continue] does not solve the problem==
+
==[stacking=continue] only solves one aspect of the problem==
 +
 
 +
the [stacking=continue] makes sure that te margins dont overlap each other. But the misplacing is still happening.
  
 
(Quelltext)
 
(Quelltext)
  
 
(Picture of pdf)
 
(Picture of pdf)

Revision as of 14:26, 29 April 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.

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] only solves one aspect of the problem

the [stacking=continue] makes sure that te margins dont overlap each other. But the misplacing is still happening.

(Quelltext)

(Picture of pdf)