From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38228 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Setting up a project Date: Sun, 23 Dec 2007 13:39:49 +0100 Message-ID: <20071223133949.b124758d.schuster.wolfgang@googlemail.com> References: <7871fcf50712201504s36570eddj4862ef466c69bfaa@mail.gmail.com> <476B771A.20602@wxs.nl> <7871fcf50712210908v58d97fa3p44c1059e2b9a751a@mail.gmail.com> <476BF804.9030309@wxs.nl> <7871fcf50712210949p529d8f10mbc9147716717dfd5@mail.gmail.com> <7871fcf50712211015u340ecf50i1d1847fba7d64d4c@mail.gmail.com> <20071221200149.5a1cc98b.schuster.wolfgang@googlemail.com> <7871fcf50712211209s7c3a7d0l86f3fe6acf80f9eb@mail.gmail.com> <20071221220803.f4432c92.schuster.wolfgang@googlemail.com> <7871fcf50712221630i13774270l420ac0c8f1316f3b@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1198413726 21063 80.91.229.12 (23 Dec 2007 12:42:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Dec 2007 12:42:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 23 13:42:19 2007 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 1J6Q9j-0002EU-0r for gctc-ntg-context-518@m.gmane.org; Sun, 23 Dec 2007 13:42:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8AD21FBFD; Sun, 23 Dec 2007 13:41:50 +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 15728-02-8; Sun, 23 Dec 2007 13:41:13 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 044EA1FC01; Sun, 23 Dec 2007 13:41:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CDFCA1FC01 for ; Sun, 23 Dec 2007 13:41:10 +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 15729-02 for ; Sun, 23 Dec 2007 13:40:36 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by ronja.ntg.nl (Postfix) with ESMTP id B29D91FBFD for ; Sun, 23 Dec 2007 13:40:06 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id e12so727962fga.8 for ; Sun, 23 Dec 2007 04:39:57 -0800 (PST) Original-Received: by 10.86.4.2 with SMTP id 2mr3339087fgd.5.1198413597529; Sun, 23 Dec 2007 04:39:57 -0800 (PST) Original-Received: from rover ( [84.149.112.170]) by mx.google.com with ESMTPS id l19sm3515741fgb.3.2007.12.23.04.39.55 (version=SSLv3 cipher=OTHER); Sun, 23 Dec 2007 04:39:56 -0800 (PST) In-Reply-To: <7871fcf50712221630i13774270l420ac0c8f1316f3b@mail.gmail.com> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.10.14; i686-pc-mingw32) 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:38228 Archived-At: On Sat, 22 Dec 2007 19:30:13 -0500 "Joel C. Salomon" wrote: > On Dec 21, 2007 4:08 PM, Wolfgang Schuster > wrote: > > > textwidth=288pt, textheight=432pt, > > > > replace these two lines with > > > > width=288pt and height=432pt > > > > don't use textwidth and textheight in \setuplayout. > > Actually, "width=288pt, textheight=432pt," gives me exactly the result > I wanted. I'd just like to be able to set the distance between the > top of the paper and the top of the text area directly, as in > header=12pt, headerdistance=12pt, something=72pt > rather than what I'm currently using: > header=12pt, headerdistance=12pt, topspace=48pt, % 48 = 72 - (12+12) > Is this possible, and what is the something's name? > > > leftmargindistance is only the distance between the textarea and the > > left box for the left margin, the layout concept could be a little bit > > confusing. > > Ya think maybe? ;) > > Thanks for the help, > --Joel \setuplayout [marking=on, location=middle, width=288pt, height=432pt, header=12pt, headerdistance=12pt, topspace=\dimexpr72pt-\headerheight-\headerdistance\relax, footer=\headerheight, footerdistance=\headerdistance, %bottomspace=144pt, % calculated by ConTeXt leftmargindistance=12pt, leftmargin=24pt, backspace=48pt, rightmargindistance=\leftmargindistance, rightmargin=\leftmarginwidth] You should also avoid to use set the headerdistance, the textheight and the bottomdistances at the same time, try to set only two dimension and let TeX calculate the third dimension itself. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________