From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51544 Path: news.gmane.org!not-for-mail From: Matthijs Kooijman Newsgroups: gmane.comp.tex.context Subject: Re: Mark IV Syntax highlighting support Date: Tue, 30 Jun 2009 15:58:07 +0200 Message-ID: <20090630135807.GP1611@katherina.student.utwente.nl> References: <4A494167.9010804@nibua-r.org> <4A49422E.40404@nibua-r.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0845887710==" X-Trace: ger.gmane.org 1246370510 19829 80.91.229.12 (30 Jun 2009 14:01:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2009 14:01:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 30 16:01:34 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 1MLdre-00023i-DJ for gctc-ntg-context-518@m.gmane.org; Tue, 30 Jun 2009 15:59:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 719391FB6D; Tue, 30 Jun 2009 15:59:04 +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 24155-02; Tue, 30 Jun 2009 15:58:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0EAD21FADF; Tue, 30 Jun 2009 15:58:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 740401FADF for ; Tue, 30 Jun 2009 15:58:17 +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 24389-01-3 for ; Tue, 30 Jun 2009 15:58:09 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id 04F081FADC for ; Tue, 30 Jun 2009 15:58:08 +0200 (CEST) Original-Received: from katherina.student.utwente.nl (katherina.student.utwente.nl [130.89.168.160]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5TJEH0C007104 for ; Mon, 29 Jun 2009 21:14:17 +0200 Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1MLdqa-0002dc-03 for ntg-context@ntg.nl; Tue, 30 Jun 2009 15:58:08 +0200 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <4A49422E.40404@nibua-r.org> X-PGP-Fingerprint: 7F6A 9F44 2820 18E2 18DE 24AA CF49 D0E6 8A2F AFBC X-PGP-Key: http://katherina.student.utwente.nl/~matthijs/gpg_pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=130.89.168.160; country=NL; region=15; city=Enschede; latitude=52.2167; longitude=6.9000; http://maps.google.com/maps?q=52.2167,6.9000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 252905173 - 9ce523dcdccd - 20090630 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:51544 Archived-At: --===============0845887710== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zdA3Jw0ChSeS2+06" Content-Disposition: inline --zdA3Jw0ChSeS2+06 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hey all, > ./tex/texmf-context/tex/context/base/verb-.*\.lua ! Actually, in newer versions (since a month or so), that's pret-*.lua. >> Where to start with this topic (current state in Mark IV, roadmap, ...) ? I've been struggling with this a bit as well lately and found there was next to no documentation. I've managed to create my own pretty printer, and tried to update the docs a bit. See [1] and [2] on the wiki for more info. There are still some details I don't get (why is there a line() hook, what is all this nesting stuff, etc.), so feel free to find out more and improve these pages! Gr. Matthijs [1]: http://wiki.contextgarden.net/Verbatim_text#Your_own_formatter [2]: http://wiki.contextgarden.net/Custom_pretty_printer --zdA3Jw0ChSeS2+06 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpKGe8ACgkQz0nQ5oovr7yntQCgpakRp1gCFBOWiLEHwVMnW1Ks 0KQAn3L9AggUOLzpCu/7v30AOf2/8HDX =iBIR -----END PGP SIGNATURE----- --zdA3Jw0ChSeS2+06-- --===============0845887710== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0845887710==--