From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80938 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: python embedded in ConTeXt Date: Sat, 23 Feb 2013 21:31:14 +0100 Message-ID: References: <5128BA65.3020802@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1361651483 26301 80.91.229.3 (23 Feb 2013 20:31:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2013 20:31:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 23 21:31:45 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U9Ll3-0002HX-1I for gctc-ntg-context-518@m.gmane.org; Sat, 23 Feb 2013 21:31:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64756101EB; Sat, 23 Feb 2013 21:31:24 +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 0iweFzRfZ6z2; Sat, 23 Feb 2013 21:31:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8B4A3101E6; Sat, 23 Feb 2013 21:31:21 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8975A101E6 for ; Sat, 23 Feb 2013 21:31:19 +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 qsYEvtSvitJD for ; Sat, 23 Feb 2013 21:31:16 +0100 (CET) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id B1392101E5 for ; Sat, 23 Feb 2013 21:31:16 +0100 (CET) Original-Received: from thesan.fiee.net (thesan.fiee.net [178.77.74.245]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r1NKVFJB017789 for ; Sat, 23 Feb 2013 21:31:15 +0100 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=fiee.net; b=I0QYDsDxiYzhqg0KA5dwkwQGXToqLLuVFUnR3Ts4/RtVe5SebtonFsbUvPd6dVsaq4NgecuVb4PmyePfbUKQeT+WCW9XYbygQpxSuLG0RszeDdNfZj4b4vNpKfk1hYP1; h=Received:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; Original-Received: (qmail 3813 invoked from network); 23 Feb 2013 21:31:14 +0100 Original-Received: from hsi-kbw-149-172-52-191.hsi13.kabel-badenwuerttemberg.de (HELO ixchel.fritz.box) (149.172.52.191) by thesan.fiee.net with ESMTPSA (AES128-SHA encrypted, authenticated); 23 Feb 2013 21:31:14 +0100 In-Reply-To: <5128BA65.3020802@telefonica.net> X-Mailer: Apple Mail (2.1085) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=178.77.74.245; country=DE; region=07; city=Duisburg; latitude=51.4333; longitude=6.7500; http://maps.google.com/maps?q=51.4333,6.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04J3Uvf5J - 1bd04bac774c - 20130223 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80938 Archived-At: Am 2013-02-23 um 13:47 schrieb Xan: > I just want to know if there is a equal thing like python.sty [1], sympyt= ex [2] or sagetex [3] for embed python, sympy and sage into ConTeXt documen= ts as there exist for latex. Yeah, I know I could write a script and run py= thon externally to ConTeXt but this were easier to use. Have a look at Aditya's filter module, that can call arbitrary external com= mands. If you need pretty printing of Python sources, I guess the vim modul= e can handle that. Don=92t know about a suitable combination. Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________