ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* empty lines messing with margins (in duplex mode)
@ 2011-11-10 13:57 Peter Schorsch
  2011-11-12 22:35 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Schorsch @ 2011-11-10 13:57 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]

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? 

I attached a jpg that shows the problem.

[-- Attachment #2: duplex-margin-with-empty-lines.tex --]
[-- Type: text/x-tex, Size: 1039 bytes --]

\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



\stoptext

[-- Attachment #3: duplex-margin-without-empty-lines.tex --]
[-- Type: text/x-tex, Size: 1029 bytes --]

\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

\stoptext

[-- Attachment #4: duplex-margin-with-emty-lines.jpg --]
[-- Type: image/jpeg, Size: 47019 bytes --]

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-12 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-10 13:57 empty lines messing with margins (in duplex mode) Peter Schorsch
2011-11-12 22:35 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).