From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24686 Path: news.gmane.org!not-for-mail From: "M.guravage" Newsgroups: gmane.comp.tex.context Subject: backspace makeupwidth tradeoff Date: Fri, 23 Dec 2005 09:58:42 +0100 (CET) Message-ID: <48111.194.105.120.70.1135328322.squirrel@webmail.solcon.nl> Reply-To: m.guravage@pragma-cts.com, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1135328547 26612 80.91.229.2 (23 Dec 2005 09:02:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2005 09:02:27 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 23 10:02:26 2005 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 ciao.gmane.org with esmtp (Exim 4.43) id 1Epiog-0003Mt-8z for gctc-ntg-context-518@m.gmane.org; Fri, 23 Dec 2005 10:02:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC4CB1277F; Fri, 23 Dec 2005 10:02:21 +0100 (CET) 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 30580-06; Fri, 23 Dec 2005 10:02:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 118F7128CE; Fri, 23 Dec 2005 09:58:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2FFC0128CE for ; Fri, 23 Dec 2005 09:58:41 +0100 (CET) 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 30628-09 for ; Fri, 23 Dec 2005 09:58:40 +0100 (CET) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 3EE5E128A7 for ; Fri, 23 Dec 2005 09:58:39 +0100 (CET) Original-Received: from webmail.solcon.nl ([212.45.32.117]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id jBN8wcZe006145 for ; Fri, 23 Dec 2005 09:58:38 +0100 Original-Received: from 194.105.120.70 (SquirrelMail authenticated user m.guravage) by webmail.solcon.nl with HTTP; Fri, 23 Dec 2005 09:58:42 +0100 (CET) Original-To: ntg-context@ntg.nl User-Agent: SquirrelMail/1.4.5 X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24686 Archived-At: Hi, I'd like to increase the backspace at the expense of the makeupwidth. I like to do this by adding either a scalar or a percentage of the backspace. In the following bit of code I'd expect both sets of \mybackspace and \mywidth macros to yield identical results, but the don't. The scalar approach seems to work correctly, and the percentage not. I'd appreciate it if somebody could show me where I've gone wrong. It mus= t be embarrassingly simple, but I can't see it - yet. Thanks in advance. Cheers, Michael \showgrid \showframe %\showlayout \def\abcor{1.25cm} % absolute binding correction \def\pbcor{0.5} % percentage binding correction % default backspace is 2.5cm %\def\mybackspace{\dimexpr(\backspace + \abcor)} \def\mybackspace{\dimexpr(\backspace + \pbcor\backspace)} % default makeupwidth is 15cm %\def\mywidth{\dimexpr(\makeupwidth - \abcor)} \def\mywidth{\dimexpr(\makeupwidth - \pbcor\backspace)} \setuplayout [location=3Dmiddle, backspace=3D\mybackspace, width=3D\mywidth] \starttext \dorecurse{10}{\input tufte \par} \stoptext