ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* changing dimensions of the page in a document
@ 2001-02-22 19:34 Uwe Koloska
  2001-02-23  8:15 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Koloska @ 2001-02-22 19:34 UTC (permalink / raw)


Hello,

I tried to make a screen document and some pages shall receive a different 
layout like in demos-en.  I know (and Hans and the manual has said) that 
setting margin and margindistance doesn't affect backspace, but the 
following document shows the contrary.  What's going wrong here?

\setuppapersize
  [S6][S6]

\setuplayout 
  [header=0cm,
   topspace=.5cm,
   backspace=.5cm,       % (1)
   leftmargin=0cm,
   margindistance=.5cm, 
   rightmargin=0cm,
   rightedge=3cm,
   width=fit]

\showframe

\starttext

\section{Eins}
\input tufte

\page
\setuplayout
  [leftmargin=.8cm,backspace=1.7cm,leftmargindistance=.4cm] % (2)
%\setuplayout
% [leftmargin=.7cm,backspace=1.7cm,leftmargindistance=.5cm] % (3)
\section{Zwei}
\input hofstadter

\stoptext

This works ok -- but if I change only one parameter of leftmargin or 
backspace in (1) or (2) the layout jumps.  And if I use (3) instead of (2) 
all my thoughts about a relationship between the settings went away :-|

If I change
  \setuplayout[leftmargin=.5cm,backspace=1.3cm,leftmargindistance=.3cm]
to
  \setuplayout[leftmargin=.4cm,backspace=1.3cm,leftmargindistance=.3cm]
in the example, the layout frames jump ...

  |  |      text     |  |edge| |
  |   |mar|  | text | |edge|   |

this is only a rough scetch.  If it doesn't jump for you, I can give you 
the resulting pdf that shows it ...

Hope someone can clarify this!
Uwe

-- 
mailto:koloska@rcs.urz.tu-dresden.de
http://rcswww.urz.tu-dresden.de/~koloska/
--                                    --
right now the web page is in german only
but this will change as time goes by ;-)


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

end of thread, other threads:[~2001-02-23  8:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-22 19:34 changing dimensions of the page in a document Uwe Koloska
2001-02-23  8:15 ` 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).