From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52275 Path: news.gmane.org!not-for-mail From: Matthijs Kooijman Newsgroups: gmane.comp.tex.context Subject: Re: [PATCH] Add begin_of_buffer and end_of_buffer hooks for lua pretty printers Date: Thu, 13 Aug 2009 12:10:54 +0200 Message-ID: <20090813101054.GP20017@katherina.student.utwente.nl> References: <20090611154718.GD1611@katherina.student.utwente.nl> <4A34F5B6.1020704@wxs.nl> <20090615090010.GN1611@katherina.student.utwente.nl> <20090722142441.GV5410@katherina.student.utwente.nl> <4A676E37.3030000@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0730217597==" X-Trace: ger.gmane.org 1250158273 26645 80.91.229.12 (13 Aug 2009 10:11:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Aug 2009 10:11:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 13 12:11:06 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MbXH0-0003GH-16 for gctc-ntg-context-518@m.gmane.org; Thu, 13 Aug 2009 12:11:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04DF0C9A90; Thu, 13 Aug 2009 12:11:03 +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 HUulJVb0-pZT; Thu, 13 Aug 2009 12:10:58 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D7454C9A77; Thu, 13 Aug 2009 12:10:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50B09C9A77 for ; Thu, 13 Aug 2009 12:10:57 +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 bDRN-dHm3Xjm for ; Thu, 13 Aug 2009 12:10:55 +0200 (CEST) Original-Received: from katherina.student.utwente.nl (katherina.student.utwente.nl [130.89.168.160]) by balder.ntg.nl (Postfix) with ESMTP id 752E8C9A4A for ; Thu, 13 Aug 2009 12:10:55 +0200 (CEST) Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1MbXGo-0007pL-SR for ntg-context@ntg.nl; Thu, 13 Aug 2009 12:10:54 +0200 Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: <4A676E37.3030000@wxs.nl> 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-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:52275 Archived-At: --===============0730217597== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2ey+zB7V0mFTJCvL" Content-Disposition: inline --2ey+zB7V0mFTJCvL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (I've sent this mail before, but I think the mailing list troubles might ha= ve eaten it). Hi Hans, > i uploaded a beta zip with two extra hooks I see the hooks, but I can't find the spot where they are called? It seems = you missed this part of my patch? Also, I think you didn't update the definition of \type to use the typesing= le lua function I proposed, which means that \type{} commands won't get begin_of_buffer and end_of_buffer called at all. Am I missing something, or did you? Will you fix this, or should I prepare a new patch? > i also moved the pretty printers to another namespace so you need to use = =20 > the buffers.newvisualizer function so that we don't get clashes with =20 > future features This change looks good indeed, those long function names weren't all that pretty. > you need to adapt the wiki accordingly I will, as soon as I get things working again :-) Gr. Matthijs --2ey+zB7V0mFTJCvL 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) iEYEARECAAYFAkqD5q4ACgkQz0nQ5oovr7zgEACfYzvbaI076/+cZw1dZjDV8gtq o8AAoJWbUTu733dx3DNUH/0FbPC1s4E5 =BHEK -----END PGP SIGNATURE----- --2ey+zB7V0mFTJCvL-- --===============0730217597== 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 ___________________________________________________________________________________ --===============0730217597==--