From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91969 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: where are the pret-xxxx.lua ? Date: Fri, 17 Jul 2015 16:36:19 +0200 Message-ID: <55A912E3.4020204@gmail.com> References: <0cf199131574049f0af54c7222a33052@eric-detrez.fr> <55A8FBD9.5010906@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1281209513==" X-Trace: ger.gmane.org 1437143833 11025 80.91.229.3 (17 Jul 2015 14:37:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Jul 2015 14:37:13 +0000 (UTC) Cc: ntg-context@ntg.nl To: info@eric-detrez.fr Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 17 16:37:00 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZG6l2-0008Uq-9i for gctc-ntg-context-518@m.gmane.org; Fri, 17 Jul 2015 16:37:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8492110230 for ; Fri, 17 Jul 2015 16:36:59 +0200 (CEST) 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 qSQI09GKQlLO for ; Fri, 17 Jul 2015 16:36:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5D0BD10237 for ; Fri, 17 Jul 2015 16:36:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 34455101FE for ; Fri, 17 Jul 2015 16:36:30 +0200 (CEST) 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 qTm9Vu9ychj4 for ; Fri, 17 Jul 2015 16:36:29 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 83B66101FD for ; Fri, 17 Jul 2015 16:36:24 +0200 (CEST) Original-Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by filter4-ams.mf.surf.net (8.14.4/8.14.4/Debian-4) with ESMTP id t6HEaMPq009491 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 17 Jul 2015 16:36:23 +0200 Original-Received: by widjy10 with SMTP id jy10so42997831wid.1 for ; Fri, 17 Jul 2015 07:36:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=DQkQ35WPO+6TWXgLOqF9+Xq4cYgCmmcPU/QgWnSK1a4=; b=Iqv/nLkZt9l1njf0MCwMygZXf8nviPnDufg7Q/LWktnyXoUGn7MCnCwFdJcTYMwr9h dnmgaXhg03JQWCZUKuFX45DcNGwA+on/06eIWK4z+O246JDsWqZMyYQ5puinOZTPXKUB YiOfG7QozX5MYMnzr4wTJ3QoL4Y3XoostQsDSWTcvPFoCz7IgNsL4BhAAfanToNIIB8m IQilLv/Z+U/tNHydhCJKR9bpMGEQiBEDyxWyKo1Oi+Y6d7iEbOBiotjtc1jJCEBuscR4 vI8/Bgfg/9j+p1A0lvySXJtUCbuSKN6tUI9ShIaYozAo0nZLZPV/72XU2WDaGOtmslfm siPw== X-Received: by 10.180.10.4 with SMTP id e4mr16465514wib.82.1437143782838; Fri, 17 Jul 2015 07:36:22 -0700 (PDT) Original-Received: from keima.localdomain (x2f28615.dyn.telefonica.de. [2.242.134.21]) by smtp.googlemail.com with ESMTPSA id fb3sm8763164wib.21.2015.07.17.07.36.21 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 17 Jul 2015 07:36:22 -0700 (PDT) User-Agent: Postbox 4.0.1 (Macintosh/20150514) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::235; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01ORqAnBO - 92a449f7a815 - 20150717 (trained as not-spam) Received-SPF: pass (filter4-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::235 as permitted sender) receiver=filter4-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::235; envelope-from=; helo=mail-wi0-x235.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:91969 Archived-At: This is a multi-part message in MIME format. --===============1281209513== Content-Type: multipart/alternative; boundary="------------060002060709080309080000" This is a multi-part message in MIME format. --------------060002060709080309080000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > Eric D=C3=A9trez > 17. Juli 2015 16:24 > > > OK > Thank you for the working example. > But my question asked where are the config files : I want to get a=20 > Python pretty-printing. > The module abr-01 seems the key but I couldn't find it. The module =E2=80=9Cabr-01=E2=80=9D defines only the XML and LUA logos wh= ich is used in=20 \subject. The code for the syntax highlighting is stored in the file=20 =E2=80=9Cbuff-imp-xx.mkiv=E2=80=9D and =E2=80=9Cbuff-imp-xx.lua=E2=80=9D.= The TeX file sets the colors=20 for the keywords etc. in your code and loads the correspoding Lua file=20 and the Lua file itself stores the rules for the syntax highlighting. Wolfgang --------------060002060709080309080000 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
= =20 17. Juli 2015=20 16:24


OK
Thank you for the working example.
But my question asked where are the config files : I want to get a=20 Python pretty-printing.
The module abr-01 seems the key but I couldn't find it.
The module =E2=80=9Cabr-01=E2=80=9D defines only the XML and LUA logos wh= ich is used in=20 \subject.

The code for the syntax highlighting is stored in the file=20 =E2=80=9Cbuff-imp-xx.mkiv=E2=80=9D and =E2=80=9Cbuff-imp-xx.lua=E2=80=9D.= The TeX file sets the colors=20 for the keywords etc. in your code and loads the correspoding Lua file=20 and the Lua file itself stores the rules for the syntax highlighting.

Wolfgang
--------------060002060709080309080000-- --===============1281209513== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1281209513==--