From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59993 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: Re: Centering labels on A4 page Date: Fri, 02 Jul 2010 13:38:40 +0200 Message-ID: <4C2DCFC0.4010007@gyza.cz> References: <4C2DC5E1.3030308@gyza.cz> <4C2DC690.6080107@googlemail.com> <4C2DC859.3050802@gyza.cz> <4C2DCD45.3040003@googlemail.com> Reply-To: hajtmar@gyza.cz, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278070731 25698 80.91.229.12 (2 Jul 2010 11:38:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2010 11:38:51 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 02 13:38:48 2010 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.69) (envelope-from ) id 1OUea0-0007W4-Gh for gctc-ntg-context-518@m.gmane.org; Fri, 02 Jul 2010 13:38:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9612C9B7E; Fri, 2 Jul 2010 13:38:47 +0200 (CEST) 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 aVWTamtybrR5; Fri, 2 Jul 2010 13:38:47 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF22CC9B41; Fri, 2 Jul 2010 13:38:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9EACBC9B41 for ; Fri, 2 Jul 2010 13:38:43 +0200 (CEST) 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 RRQKAWhrOtZf for ; Fri, 2 Jul 2010 13:38:41 +0200 (CEST) Original-Received: from psi2.forpsi.com (smtpa.forpsi.com [81.2.195.204]) by balder.ntg.nl (Postfix) with SMTP id 8C57DC9AC7 for ; Fri, 2 Jul 2010 13:38:41 +0200 (CEST) Original-Received: (qmail 30457 invoked by uid 89); 2 Jul 2010 11:38:39 -0000 Original-Received: from unknown (HELO ?192.168.1.2?) (hajtmar@gyza.cz@88.103.230.14) by psi02 with ESMTPA; 2 Jul 2010 11:38:39 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 In-Reply-To: <4C2DCD45.3040003@googlemail.com> 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:59993 Archived-At: GREAT!!!... It is OK now... I thought it would be much easier :-) Your example is for me very very instructive... thanx for it.. Thanx... Jaroslav Dne 2.7.2010 13:28, Wolfgang Schuster napsal(a): > > \definepapersize[label][width=30mm,height=20mm] > \setuppapersize [label][A4] > > \definemeasure[topspace] [\dimexpr(297mm-21mm*10+1mm)/2\relax] > \definemeasure[backspace][\dimexpr(210mm-31mm*5+1mm)/2\relax ] > > \setuppaper > [topspace=\measure{topspace},backspace=\measure{backspace},dx=1mm,dy=1mm,nx=5,ny=10] > > \setuplayout [page] > [topspace=\measure{topspace},backspace=\measure{backspace}] > \setuplayout [page] > \setuplayout [location=middle] > \setuparranging [XY] > > \showframe[edge] > > \starttext > \dorecurse{50}{\page[empty]} > \stoptext ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________