ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Still the old layout problem
Date: Sun, 04 Aug 2002 23:23:50 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20020804231758.02d91728@remote-1> (raw)
In-Reply-To: <16187655464.20020804130757@iol.it>

At 01:07 PM 8/4/2002 +0200, Giuseppe Bilotta wrote:
>Hello,
>
>I come here to re-issue the problem with the default layout: as it
>is on my machine, the layout is slightly off-centered: the first
>half centimeter pops out of the left margin; issuing a horoffset
>correction of .5cm fixes the problem, but as it can be seen by
>\showframe the whole page is shifted, so that document editing
>with this debug feature shows that unpleasant black line running
>down the left margin.
>
>I understand that this layout has to be kept the default for
>backwards compatibility reasons, but I think that a new layout
>which fits nicely and correctly on the default A4 paper should be
>provided, and made available by an appropriate command
>(\usenewlayout ?), something alike the macro that corrects the
>original design "flaw" of swapping left and right
>justification/raggedness.
>
>As an option, named layout could be added (or are they already
>there?), with a \definelayout command et similia (\uselayout, a
>change in \setuplayout, etc.

hm, this is not a design flaw, but a deliberate one, since in the beginning 
we used context mainly for single sided stapled reports where we can write 
notes in the margin,

So, why not define:

\definelayout
   [centered]
   [width=middle,
    height=middle,
    margin=1.75cm] % \dimexpr(\backspace-\margindistance-.25cm)

in your local cont-sys file so that you can say:

\setuplayout[centered]

so, there is no need for \usenewlayout esp since you cna bet that others 
will ask for a \usenewerlayout and \usenewestlayout, for instance because 
they want vertically centered and/or a larger backspace or inches instead 
of cms etc

It is on my agenda to predefine a couple of layouts and provide them in a 
module

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


  parent reply	other threads:[~2002-08-04 21:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-04 11:07 Giuseppe Bilotta
2002-08-04 19:23 ` Jens-Uwe Morawski
2002-08-04 21:30   ` Hans Hagen
2002-08-06 16:56     ` Jens-Uwe Morawski
2002-08-04 21:23 ` Hans Hagen [this message]
2002-08-11 17:11   ` Re[2]: " Giuseppe Bilotta

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=5.1.0.14.1.20020804231758.02d91728@remote-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).