ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: typearea
Date: Tue, 20 Jan 2004 10:12:32 +0100	[thread overview]
Message-ID: <6.0.1.1.2.20040120101000.01e347e0@server-1> (raw)
In-Reply-To: <Pine.LNX.4.44.0401190650250.4810-100000@gaston.free.fr>

At 20:06 19/01/2004, you wrote:

> > 
> \edef\layoutratio{\withoutpt{\the\dimexpr(2\paperheight/(\paperwidth/32768))}}
>
>Very strange, it works, but I don't understand how 2 * a / (b / 32768) == a/b

one can divide a dimen by a dimen in which case the dimen is cast on a 
counter (internally a dimen is just a number, with a sp unit); we need to 
compensate by 64K then; i multiply by two first to get rid of inaccuracy 
etc etc

>Do I understand it right, backspace is the inner margin, and cutspace the
>outer one?  Are both needed?

no, but it permits width=middle

Hans  

  reply	other threads:[~2004-01-20  9:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-04 18:24 typearea Peter Münster
2004-01-04 21:03 ` typearea Hans Hagen
2004-01-06  7:21   ` typearea Peter Münster
2004-01-06 14:13     ` typearea Henning Hraban Ramm
2004-01-11 21:02       ` typearea Peter Münster
2004-01-14 18:33         ` typearea Peter Münster
2004-01-15 10:23           ` typearea Hans Hagen
2004-01-19 19:06             ` typearea Peter Münster
2004-01-20  9:12               ` Hans Hagen [this message]
2004-01-15 12:23 typearea Hans Hagen
2004-01-15 13:45 ` typearea Willi Egger

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=6.0.1.1.2.20040120101000.01e347e0@server-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).