From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14489 Path: main.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: Re: address labels Date: Sun, 11 Jan 2004 15:11:17 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <002e01c3d84f$d3c93220$5530fb3e@com> References: <6.0.1.1.2.20040109191530.01e56cd8@server-1> <001a01c3d82e$f0e8f500$ca30fb3e@com> <4001399A.9060003@boede.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1073831614 12038 80.91.224.253 (11 Jan 2004 14:33:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2004 14:33:34 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Jan 11 15:33:31 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Afgeh-00073L-00 for ; Sun, 11 Jan 2004 15:33:31 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 4CBEE10B4C; Sun, 11 Jan 2004 15:32:49 +0100 (MET) Original-Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by ref.ntg.nl (Postfix) with ESMTP id 55D1C10B4B for ; Sun, 11 Jan 2004 15:31:40 +0100 (MET) Original-Received: from pacroot by smtp.hccnet.nl via uds128-48.dial.hccnet.nl [62.251.48.128] with SMTP for id i0BEWEND000861 (8.12.10/2.03); Sun, 11 Jan 2004 15:32:15 +0100 (MET) Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14489 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14489 Thank you, Hans and Willi, for your replies! Kind regards, Robert Ermers ----- Oorspronkelijk bericht ----- Van: Willi Egger Aan: Verzonden: zondag 11 januari 2004 12:55 Onderwerp: Re: [NTG-context] address labels > Hi Robert, > > while composing my solution to your question Hans was of course faster > and gives immediately multiple approaches. > You might want to have a look at my solution because it is basically > intended to print addres-labels. > Because of restriction of the meilinglist the picture is not included, > but you can simply replace the picture in the > logo definition ... > > Success! > Kind regards Willi > > R. Ermers wrote: > > >Hi contexers, > > > >I am trying to make context do what I want. What I needed this weekend, are > >address labels, which I want to fill with my own logo (not the addresse's). > > > >Making one label is no problem, but I rather would like to have context make > >and typeset a large number of them on a sheet, to be precise: 9x3 (sizes: > >7mm x 32mm). > > > >Does anyone have a clue how this can be done? > > > >Kind regards, > > > >Robert Ermers > > > > > ---------------------------------------------------------------------------- ---- > % Etiketten for address labels format 45 by 100mm > % Context file > % filename: logos.tex > % Willi Egger > % january 2004 > > \setupoutput[pdftex] > > \mainlanguage[nl] > \language[nl] > \setuppagenumber[state=stop] > \setupcolors[state=start] > \usetypescript[modern][texnansi] > \setupbodyfont[modern,ss,12pt] > > \definepapersize[Etiket][height=42.3mm,width=105mm] > \setuppapersize [Etiket][A4,portrait] > \setuppaper > [topspace=0mm, > backspace=0mm, > dx=2mm, > dy=0mm, > nx=2, > ny=7, > margin=0, > width=210mm, > height=297mm] > \setuplayout > [topspace=4mm, > backspace=8mm, > margin=0mm, > width=96mm, > height=34mm, > header=0mm, > footer=0mm] > \setuparranging[XY] > > \definelayer[Etiket][width=\textwidth, height=\textheight] > \setupframedtexts[frame=off,width=\textwidth] > > \def\Logo% > {\externalfigure[wooden_coptic][height=\textheight]} > > %\input adreslist %Contains the addresses as given below: > > % \startbuffer[Adr1] > % \framedtext{% > % \startlines > % Mr. Robert Ermers \\ > % \CONTEXT-technician\\ > % Whereeverstreet 5\\ > % 7000 \TEX land > % \stoplines} > % \stopbuffer > > \def\Addresses{10} > > \showframe > > \starttext > \dorecurse{\Addresses}{% > \setlayer > [Etiket] > [preset=leftbottom,location={right,top},y=-3mm,x=-3mm] > {\switchtobodyfont[10pt]\getbuffer[Adr\recurselevel]} > \setlayer > [Etiket] > [preset=lefttop,location={right,bottom}] > {\switchtobodyfont[5pt]\Logo} > \placelayer[Etiket]} > \stoptext >