From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51080 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Printing source code intelligently with ConTeXt (with overlay) Date: Sat, 6 Jun 2009 15:52:50 +0200 Message-ID: References: <4A200B99.90307@wxs.nl> <4B4A0B08-82F7-4F80-9A7E-43314831947E@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244296443 7640 80.91.229.12 (6 Jun 2009 13:54:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Jun 2009 13:54:03 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 06 15:53:59 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 1MCwLN-00067q-5D for gctc-ntg-context-518@m.gmane.org; Sat, 06 Jun 2009 15:53:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 79AA51FBA8; Sat, 6 Jun 2009 15:53:56 +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 30402-08; Sat, 6 Jun 2009 15:53:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DFCEF1FB5A; Sat, 6 Jun 2009 15:53:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14AEE1FB5A for ; Sat, 6 Jun 2009 15:53:09 +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 09366-02-2 for ; Sat, 6 Jun 2009 15:53:01 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 29EC21FB57 for ; Sat, 6 Jun 2009 15:53:01 +0200 (CEST) Original-Received: from smtp-1.concepts.nl (smtp-1.concepts.nl [213.197.30.124]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n56Dr0ND012279 for ; Sat, 6 Jun 2009 15:53:00 +0200 Original-Received: from d594e7d0.dsl.concepts.nl ([213.148.231.208] helo=certified.rna.nl) by smtp-1.concepts.nl with esmtp (Exim 4.69) (envelope-from ) id 1MCwKN-0006KX-ML for ntg-context@ntg.nl; Sat, 06 Jun 2009 15:52:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by certified.rna.nl (Postfix) with ESMTP id 11C282622C0A for ; Sat, 6 Jun 2009 15:52:51 +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 w4Nr3k2QAnkH for ; Sat, 6 Jun 2009 15:52:50 +0200 (CEST) Original-Received: from hermione-a.rna.nl (hermione-a.rna.nl [192.168.2.87]) by certified.rna.nl (Postfix) with ESMTP id A58A92622BFA for ; Sat, 6 Jun 2009 15:52:50 +0200 (CEST) In-Reply-To: <4B4A0B08-82F7-4F80-9A7E-43314831947E@gmail.com> X-Priority: 3 (Normal) X-Mailer: Apple Mail (2.935.3) X-Concepts-MailScanner-Information: Please contact abuse@concepts.nl for more information X-Concepts-MailScanner-ID: 1MCwKN-0006KX-ML 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.124; 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: 238522779 - 6617f3044596 - 20090606 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:51080 Archived-At: On 4 Jun 2009, at 16:17, Wolfgang Schuster wrote: > Can you ask your questions in english, your question could be > relevant for other > users too and it would be a shame if the don't understand it because > you use dutch. Sorry, I forgot. Here is the question. I have source code which i want to print using an overlay in PDF, linenumbers, fixed width font, correct indentation of tabs and in landscape mode. I could create some of this with the pr program, but preferably I would like some sort of ConTeXt setup which I could automate. Yours, Gerben Overlay answer from Hans: >>> \defineoverlay[myoverlay][\overlayfigure{myfile.pdf}] >>> >>> \setupbackgrounds[page][overlay=myoverlay] >>> >>> if it has to be on top: >>> >>> \setupbackgrounds[page][overlay={foreground,myoverlay}] ___________________________________________________________________________________ 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 ___________________________________________________________________________________