From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43424 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: Still confused about \setuplayout Date: Wed, 27 Aug 2008 17:42:36 +0200 Message-ID: <326847810808270842v3f5f79fdld904c8fe9023927d@mail.gmail.com> References: <326847810808260929p19deaa6bndcfae286f7953115@mail.gmail.com> <326847810808270422qe5399f8ob5746ea486a8ef57@mail.gmail.com> <48B53A10.9010304@wxs.nl> <326847810808270536r3bf6d85fodee183effb326d6b@mail.gmail.com> <48B54B69.9020508@wxs.nl> <326847810808270631u732fb82eka4e0b52a0ecf6189@mail.gmail.com> <48B55869.1020204@wxs.nl> <326847810808270705s633a3586g4d356d08e43e782f@mail.gmail.com> <48B56DC6.90105@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0652003470==" X-Trace: ger.gmane.org 1219851897 5110 80.91.229.12 (27 Aug 2008 15:44:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2008 15:44:57 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 27 17:45:51 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KYNCz-00037g-G6 for gctc-ntg-context-518@m.gmane.org; Wed, 27 Aug 2008 17:45:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B9B391FE4B; Wed, 27 Aug 2008 17:44:19 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00709-01-2; Wed, 27 Aug 2008 17:43:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E30621FDEE; Wed, 27 Aug 2008 17:43:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F15061FDE8 for ; Wed, 27 Aug 2008 17:43:13 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 30760-01-17 for ; Wed, 27 Aug 2008 17:42:36 +0200 (CEST) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.148]) by ronja.ntg.nl (Postfix) with ESMTP id 7EA491FE3E for ; Wed, 27 Aug 2008 17:42:36 +0200 (CEST) Original-Received: by ey-out-1920.google.com with SMTP id 21so458506eyc.38 for ; Wed, 27 Aug 2008 08:42:36 -0700 (PDT) Original-Received: by 10.210.129.10 with SMTP id b10mr126897ebd.26.1219851756339; Wed, 27 Aug 2008 08:42:36 -0700 (PDT) Original-Received: by 10.210.16.2 with HTTP; Wed, 27 Aug 2008 08:42:36 -0700 (PDT) In-Reply-To: <48B56DC6.90105@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43424 Archived-At: --===============0652003470== Content-Type: multipart/alternative; boundary="----=_Part_17764_10659382.1219851756319" ------=_Part_17764_10659382.1219851756319 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Taco. >I am somewhat confused myself as to why this is generally considered to be so confusing. What's most confusing are the: - wiki layout explanation at http://wiki.contextgarden.net/Layout - \showsetups output - excursion manual, table 33.2 page 74 - main manual page 24 - \setuplayout texshow page each one listing the same thing similarly or differently using either arguments, parameters and/or variables, the latter of which for the most have nothing to do with the \setuplayout arguments ( or are these parameters, or variables ? ) Best, Alan On Wed, Aug 27, 2008 at 5:07 PM, Taco Hoekwater wrote: > Alan Stone wrote: > > > > CanItBeAnyMoreConfusingText ? > > From left to right, you have: > > (left)edge > (left)edgedistance > (left)margin > (left)margindistance > width > (right)margindistance > (right)margin > (right)edgedistance > (right)edge > > The location of all this on the paper is defined by backspace, which > gives the distance between the appropriate (left or right) edge of the > text width and the physical paper edge. > > Similar logic applies in the vertical direction. \showlayout will > give the current values and keys (put it after \starttext, it generates > four pages of typeset information). I am somewhat confused myself as to > why this is generally considered to be so confusing. > > In vertical mode, it goes like this > > top > topdistance > header > headerdistance > textheight > footerdistance > footer > bottomdistance > bottom > > "height" sets up the dimension that controls the inner five areas > (header ... footer). "topspace" is the distance between the vertical > top edge of the paper and the top of "header". > > You can put \showlayout after \starttext. It will generate four pages > of settings (because of double-sided ness). > > Best wishes, > Taco > ------=_Part_17764_10659382.1219851756319 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Thanks Taco.

>I am somewhat confused myself as to why this is generally considered to  be so confusing.

What's most confusing are the:

- wiki layout explanation at http://wiki.contextgarden.net/Layout
- \showsetups output
- excursion manual, table 33.2 page 74
- main manual page 24
- \setuplayout texshow page

each one listing the same thing similarly or differently using either arguments, parameters
and/or variables, the latter of which for the most have nothing to do with the \setuplayout
arguments ( or are these parameters, or variables ? )

Best,
Alan

On Wed, Aug 27, 2008 at 5:07 PM, Taco Hoekwater <taco@elvenkind.com> wrote:
Alan Stone wrote:
>
> CanItBeAnyMoreConfusingText ?

 From left to right, you have:

  (left)edge
  (left)edgedistance
  (left)margin
  (left)margindistance
  width
  (right)margindistance
  (right)margin
  (right)edgedistance
  (right)edge

The location of all this on the paper is defined by backspace, which
gives the distance between the appropriate (left or right) edge of the
text width and the physical paper edge.

Similar logic applies in the vertical direction. \showlayout will
give the current values and keys (put it after \starttext, it generates
four pages of typeset information).  I am somewhat confused myself as to
why this is generally considered to  be so confusing.

In vertical mode, it goes like this

   top
   topdistance
   header
   headerdistance
   textheight
   footerdistance
   footer
   bottomdistance
   bottom

"height" sets up the dimension that controls the inner five areas
(header ... footer). "topspace" is the distance between the vertical
top edge of the paper and the top of "header".

You can put \showlayout after \starttext. It will generate four pages
of settings (because of double-sided ness).

Best wishes,
Taco

------=_Part_17764_10659382.1219851756319-- --===============0652003470== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0652003470==--