From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54442 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: the meaning of cutspace Date: Tue, 17 Nov 2009 12:59:59 +0100 Message-ID: <9B8DE71C-397A-463A-AA62-9CAAC5D14BD4@googlemail.com> References: <4B01B77D.5050205@gmail.com> <957E98FE-2EDF-4D60-9E35-1B5B8FEFD4A2@googlemail.com> <2D6EE8A0-46C5-4490-B554-D4575CA41220@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258459264 9957 80.91.229.12 (17 Nov 2009 12:01:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 12:01:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 17 13:00:56 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAMjD-0006UW-Gl for gctc-ntg-context-518@m.gmane.org; Tue, 17 Nov 2009 13:00:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 14CD7C9AD9; Tue, 17 Nov 2009 12:57:49 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id xyGLkU4sig04; Tue, 17 Nov 2009 12:57:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EC2F0C9AAA; Tue, 17 Nov 2009 12:57:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 86C4BC9AAA for ; Tue, 17 Nov 2009 12:57:44 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id J8sX-xLc8MYN for ; Tue, 17 Nov 2009 12:57:42 +0100 (CET) Original-Received: from mail-bw0-f218.google.com (mail-bw0-f218.google.com [209.85.218.218]) by balder.ntg.nl (Postfix) with ESMTP id D82E9C9A8A for ; Tue, 17 Nov 2009 12:57:41 +0100 (CET) Original-Received: by bwz10 with SMTP id 10so7746370bwz.15 for ; Tue, 17 Nov 2009 04:00:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=tMLcjU+6OrRupAjLysHhPPCoCLXOnIM2m81btJBxf6w=; b=jGINwl2Jhbcv3lwqDn1HnXdMNp+oT53VbKX95WUb7h6AOMbIsPkO5JNAbCnSvX+7an 65bZcQguQ6Abf4b9ASv3niU7ExXBhZ3TFLz25HOS61ccCiwd7ZPZ8aeWhNbmXLyLdfhW vGOeB58qBs49LyWL1svwQwjsnwxJPtP5lOw3U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=qXxB9SmeugTgXPq3rw6zB7shuuB2rQ1P/yD1nciFsK7IMN5Jvr8H/RkN/iPPUqWmz5 SzZ3e+cv3+sTXvK8jh/mrZUke/jn5bc9Sus6x+V9qMPFd9GD0jAc3e3D5k3Ofo7B/GTn lYsNBofmZtWZIIKJ3Bg18hVBzX6Fqb6U+vnoY= Original-Received: by 10.204.7.153 with SMTP id d25mr6498318bkd.70.1258459201259; Tue, 17 Nov 2009 04:00:01 -0800 (PST) Original-Received: from ?192.168.2.23? (p5B294BD5.dip.t-dialin.net [91.41.75.213]) by mx.google.com with ESMTPS id 15sm357007fxm.10.2009.11.17.03.59.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 04:00:00 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1077) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54442 Archived-At: Am 17.11.2009 um 11:40 schrieb Peter M=FCnster: > I'm sorry, I still don't understand... When width=3Dmiddle adjusts the w= idth > to "paperwidth - backspace - cutspace", what should width=3Dfit then do? > What does "middle" mean, in the middle of *what*? > = > I suggest, that specifying backspace + cutspace + width=3Dmiddle should > output an error or warning, and backspace + cutspace + width=3Dfit should= do > it right... The first thing context does is to check the value of width: (the width of the textarea is stored in \makeupwidth, not \textwidth) 1. width=3Dmiddle if cutspace=3D0pt then cutspace=3Dbackspace endif makeupwidth =3D paperwidth - backspace - cutspace 2. width=3Dfit when i look at the source i don't know if anyone want this setting because very complicated and the calculation is makeupwidth =3D paperwidth - (backspace - leftmargin - leftmargindistance -= leftedge - ...) - (cutspace - rightmargin - ...) 3. width=3D makeupwidth =3D Example: \definelayout[1][backspace=3D4cm,width=3D12cm] \definelayout[2][backspace=3D5cm,cutspace=3D7cm,width=3Dmiddle] \definelayout[3][backspace=3D3cm,cutspace=3D0pt,width=3Dmiddle] \definelayout[4][backspace=3D4cm,width=3Dfit] \definelayout[5][backspace=3D4cm,leftmargin=3D3cm,width=3Dfit] \definelayout[6][backspace=3D4cm,leftmargin=3D4cm,width=3Dfit] \definelayout[7][backspace=3D4cm,leftmargin=3D2cm,width=3Dfit] \definelayout[8][backspace=3D4cm,leftmargin=3D2cm,rightmargin=3D3cm,width= =3Dfit] \definelayout[9][backspace=3D4cm,leftmargin=3D2cm,rightmargin=3D4cm,width= =3Dfit] \definelayout[10][backspace=3D4cm,leftmargin=3D2cm,rightmargin=3D2cm,width= =3Dfit] \showframe \starttext \dorecurse{10} {\starttabulate \NC backspace \EQ \PtToCm\backspace \NC\NR \NC textwidth \EQ \PtToCm\textwidth \NC\NR \NC cutspace \EQ \PtToCm\cutspace \NC\NR \stoptabulate \page} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________