From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51028 Path: news.gmane.org!not-for-mail From: Gerben.Wierda@rna.nl Newsgroups: gmane.comp.tex.context Subject: Re: Printen van code met een PDF overlay, makkelijk met ConTeXt? Date: Thu, 4 Jun 2009 16:10:10 +0200 (CEST) Message-ID: References: <4A200B99.90307@wxs.nl> 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 1244124690 23295 80.91.229.12 (4 Jun 2009 14:11:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Jun 2009 14:11:30 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 04 16:11:27 2009 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 1MCDfC-0005Pb-Px for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jun 2009 16:11:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 568951FC00; Thu, 4 Jun 2009 16:11:25 +0200 (CEST) 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 12531-04-4; Thu, 4 Jun 2009 16:10:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 949CF1FC07; Thu, 4 Jun 2009 16:10:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC1E81FBD5 for ; Thu, 4 Jun 2009 16:10:35 +0200 (CEST) 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 12532-02-5 for ; Thu, 4 Jun 2009 16:10:20 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id A49BC1FC0B for ; Thu, 4 Jun 2009 16:10:20 +0200 (CEST) Original-Received: from smtp-4.concepts.nl (smtp-4.concepts.nl [213.197.30.111]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n54EAJB8025117 for ; Thu, 4 Jun 2009 16:10:19 +0200 Original-Received: from d594e7d0.dsl.concepts.nl ([213.148.231.208] helo=certified.rna.nl) by smtp-4.concepts.nl with esmtp (Exim 4.69) (envelope-from ) id 1MCDe3-0001VW-Bt for ntg-context@ntg.nl; Thu, 04 Jun 2009 16:10:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by certified.rna.nl (Postfix) with ESMTP id 60C5926140D5 for ; Thu, 4 Jun 2009 16:10:10 +0200 (CEST) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from certified.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2qXWtm+BEnX5 for ; Thu, 4 Jun 2009 16:10:10 +0200 (CEST) Original-Received: from certified.rna.nl (localhost [127.0.0.1]) by certified.rna.nl (Postfix) with ESMTP id CA5E526140C2 for ; Thu, 4 Jun 2009 16:10:09 +0200 (CEST) Original-Received: from 194.151.16.33 (SquirrelMail authenticated user gerben) by certified.rna.nl with HTTP; Thu, 4 Jun 2009 16:10:10 +0200 (CEST) In-Reply-To: <4A200B99.90307@wxs.nl> User-Agent: SquirrelMail/1.4.17 X-Priority: 3 (Normal) Importance: Normal X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1MCDe3-0001VW-Bt X-Concepts-MailScanner: Found to be clean X-Concepts-MailScanner-SpamCheck: X-Concepts-MailScanner-From: gerben.wierda@rna.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.197.30.111; country=NL; region=06; city=Roosendaal; latitude=51.5333; longitude=4.4667; http://maps.google.com/maps?q=51.5333,4.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 237518122 - d1ee5ef8a6e1 - 20090604 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51028 Archived-At: > Gerben Wierda wrote: >> Beste allemaal, >> >> ik wil broncode uitprinten met regelnummers op pagina's met een bepaalde >> overlay. Ik heb dus ascii text files als input (de code) een overlay in >> PDF en wil deze gecombineerd printen. >> >> Ik zat te denken: is een ConTeXt based workflow hier een mogelijke >> oplossing? De regelnummers e.d. kan ik eventueel met het pr programma >> genereren. > > \defineoverlay[myoverlay][\overlayfigure{myfile.pdf}] > > \setupbackgrounds[page][overlay=myoverlay] > > if it has to be on top: > > \setupbackgrounds[page][overlay={foreground,myoverlay}] Dank. Om het completer te maken. Stel ik heb een serie ASCII files met broncode. Deze files wil ik printen - landscape - in fixed width font en zonder de tekstfiles te hoeven aanpassen - met regelnummers - met PDF overlay (als hierboven) - met juiste vertaling van tabs naar posities Wat is dan de (slimste) ConTeXt oplossing? G ___________________________________________________________________________________ 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 ___________________________________________________________________________________