From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63127 Path: news.gmane.org!not-for-mail From: Mojca Miklavec Newsgroups: gmane.comp.tex.context Subject: Re: print many cards (pages) on one A4 paper Date: Sun, 31 Oct 2010 18:30:31 +0100 Message-ID: References: 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: dough.gmane.org 1288546262 15927 80.91.229.12 (31 Oct 2010 17:31:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2010 17:31:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 31 18:30:58 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 1PCbk6-0001ZM-FJ for gctc-ntg-context-518@m.gmane.org; Sun, 31 Oct 2010 18:30:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DCE8BCA7FB; Sun, 31 Oct 2010 18:30:53 +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 2DW1vfgmz-f8; Sun, 31 Oct 2010 18:30:50 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F09ACA7F3; Sun, 31 Oct 2010 18:30:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9DB38CA7F3 for ; Sun, 31 Oct 2010 18:30:48 +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 VK+qLHPzUiFJ for ; Sun, 31 Oct 2010 18:30:33 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id A03C0CA7F2 for ; Sun, 31 Oct 2010 18:30:33 +0100 (CET) Original-Received: from mail-vw0-f41.google.com (mail-vw0-f41.google.com [209.85.212.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9VHUWHP026633 for ; Sun, 31 Oct 2010 18:30:32 +0100 Original-Received: by vws18 with SMTP id 18so2439376vws.14 for ; Sun, 31 Oct 2010 10:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=B9VBbiX0GZnXZlLgTLiY3Yx6/IAxBj/EaE9eIAUAxNI=; b=s34OypnihziDctzqh21ratiWZluyH6X0zMg+9usnYkwp0dStOc6ODHIRZbO3rbG9OG tIBVJ9tKYAByo+SobLyLIDe4ULNVi3JF3diHmYP/BS2ecH/7yPo++Xhd9ePcedfBrAej uMH1D30InfJZiaHEEp99iZuijdKwE7HcLz7Cc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fKNZXoNNZ3rINuIGUJ97uHF9bDdbdAxCClVWY/I+H6WWveHyGiktBjUEsvhEMrPaUS Minp8s+7Sy/VkiTU4Vzn91CaCWZNsg7UMyk42Zt3YWB63mOkNBPTrJzHmt6bCg88kYZ9 TKCl1NP3FdOFVOA67VjQVb7nopGJxSxno9s14= Original-Received: by 10.224.177.205 with SMTP id bj13mr7211311qab.170.1288546231650; Sun, 31 Oct 2010 10:30:31 -0700 (PDT) Original-Received: by 10.229.233.213 with HTTP; Sun, 31 Oct 2010 10:30:31 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DptuwAr - 27d21e059d4c - 20101031 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:63127 Archived-At: On Sun, Oct 31, 2010 at 16:45, Jonas Stein wrote: > Hi, > > i want to print many (lets say 2 x 4) file cards on one DIN A4 paper. > I played around with the BusinessCard[1] example. Thats close to > what i need, but all cards are cloned there. > > How can i gain the same with 2x4 or 2x5 different cards on one side? Here is one option from one of my recent documents ... Document A (badges.tex) creates badges: \definepapersize [badge] [width=8.5cm,height=5cm] \setuppapersize [badge][badge] \setuplayout [backspace=1cm,width=middle,topspace=1cm,height=middle, header=0pt,headerdistance=0pt,footer=0pt,footerdistance=0pt] \setuppagenumbering [location=] And then document B puts them together into table: \setuppapersize [A4,landscape][A4,landscape] \setuplayout [backspace=2cm,width=25.5cm,topspace=2cm,header=0pt,headerdistance=0pt,height=20cm] \setuppagenumbering [location=] \def\b#1{\bTD\externalfigure[badges.pdf][page=#1]\eTD} \starttext \setupTABLE[strut=no,offset=0pt,split=yes] \setupTABLE[c][each][width=8.5cm,height=5cm] \bTABLE \bTR\b{1}\b{2}\b{3}\eTR \bTR\b{4}\b{5}\b{6}\eTR \bTR\b{7}\b{8}\b{9}\eTR % to get multiple badges of the same kind \bTR\b{62}\b{62}\b{62}\eTR \eTABLE \stoptext But of course you may just as well do both steps at the same time. Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________