ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: backspace makeupwidth tradeoff
Date: Fri, 23 Dec 2005 10:37:27 +0100	[thread overview]
Message-ID: <43ABC557.5070003@wxs.nl> (raw)
In-Reply-To: <48111.194.105.120.70.1135328322.squirrel@webmail.solcon.nl>

M.guravage wrote:

>% default makeupwidth is 15cm
>%\def\mywidth{\dimexpr(\makeupwidth - \abcor)}
>\def\mywidth{\dimexpr(\makeupwidth - \pbcor\backspace)}
>
>\setuplayout
>  [location=middle,
>   backspace=\mybackspace,
>   width=\mywidth]
>  
>

you refer to \backspace but you cannot say whether it;s set already; 
layout calculations are a bit complex and the order of key=values is not 
related to the calculations

you can try to use:  \layoutparameter{backspace}

\def\mywidth{\dimexpr(\makeupwidth - \pbcor\layoutparameter{backspace})}



Hans

      reply	other threads:[~2005-12-23  9:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-23  8:58 M.guravage
2005-12-23  9:37 ` Hans Hagen [this message]

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=43ABC557.5070003@wxs.nl \
    --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).