ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Uwe Koloska <uwe.koloska@mailbox.tu-dresden.de>
Subject: changing dimensions of the page in a document
Date: Thu, 22 Feb 2001 20:34:55 +0100	[thread overview]
Message-ID: <01022220345504.00637@bilbo> (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 ;-)


             reply	other threads:[~2001-02-22 19:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-22 19:34 Uwe Koloska [this message]
2001-02-23  8:15 ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01022220345504.00637@bilbo \
    --to=uwe.koloska@mailbox.tu-dresden.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).