From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60031 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: Re: Setuparranging[XY] and arrangement of labels Date: Sun, 04 Jul 2010 10:11:49 +0200 Message-ID: <4C304245.5010907@gyza.cz> References: <4C2FFD58.90909@gyza.cz> <4C303588.2010204@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 1278231120 6071 80.91.229.12 (4 Jul 2010 08:12:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 4 Jul 2010 08:12:00 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 04 10:11:59 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 1OVKIw-0001yS-E0 for gctc-ntg-context-518@m.gmane.org; Sun, 04 Jul 2010 10:11:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 80A7EC9AF5; Sun, 4 Jul 2010 10:11:57 +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 ART53mF3g2JZ; Sun, 4 Jul 2010 10:11:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84A37C9AC7; Sun, 4 Jul 2010 10:11:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D83EC9AC7 for ; Sun, 4 Jul 2010 10:11:53 +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 g0BC4VC3tQ5V for ; Sun, 4 Jul 2010 10:11:51 +0200 (CEST) Original-Received: from psi1.forpsi.com (smtpa.forpsi.com [81.2.195.204]) by balder.ntg.nl (Postfix) with SMTP id EE3BEC9AAF for ; Sun, 4 Jul 2010 10:11:50 +0200 (CEST) Original-Received: (qmail 4913 invoked by uid 89); 4 Jul 2010 08:11:48 -0000 Original-Received: from unknown (HELO ?192.168.1.2?) (hajtmar@gyza.cz@88.103.230.14) by psi01 with ESMTPA; 4 Jul 2010 08:11:48 -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: <4C303588.2010204@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:60031 Archived-At: Thanx Wolfgang for your advice, it is very interesting for me, and even though I do not use it now, I'm sure I will someday come in handy.. Jaroslav Dne 4.7.2010 9:17, Wolfgang Schuster napsal(a): > Am 04.07.10 05:17, schrieb Jaroslav Hajtmar: >> Hello all, >> >> I have a reason to print labels to page in "vertical mode". This >> means, that labels are place to page underneath first and then >> abreast (ie top to bottom first and then subsequently left to rigth). >> >> According to the example of the way they are now labels numbered : >> >> 1 2 3 >> 4 5 6 >> 7 8 9 >> 10 11 12 >> 13 14 15 >> >> but I want to be numbered: >> >> 1 6 11 >> 2 7 12 >> 3 8 13 >> 4 9 14 >> 5 10 15 >> >> Exist any simple way in \setuparranging [XY] mode (not in columns >> mode) for this? >> If it will not somehow just does not matter. Otherwise I'll do sort >> of data that I print to the labels (but otherwise I find it quite >> helpful as I could keep my original gear mechanism). > > This isn't possible with the XY arrangement but when you use two > documents, > one with the labels and another one where you arrange them. > > > Document 1: > > \definepapersize[label][width=30mm,height=20mm] > \setuppapersize [label][label] > > \starttext > ... > \stoptext > > > Document 2: > > \definemeasure[topspace] [\dimexpr(210mm-31mm*5)/2\relax] > \definemeasure[backspace][\dimexpr(297mm-20mm*10)/2\relax] > > \setuplayout[page][topspace=\measure{topspace},backspace=\measure{backspace}] > > \setuplayout[page] > \starttext > \combinepages[Document 1][nx=5,ny=10,distance=1mm,alternative=vertical] > \stoptext > > > 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________