From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52070 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: Mon, 27 Jul 2009 13:30:01 +0200 Message-ID: <20090727113001.GI5410@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="===============2022455914==" X-Trace: ger.gmane.org 1249395011 1690 80.91.229.12 (4 Aug 2009 14:10:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 14:10:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 04 16:10:04 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MYKiJ-0000xG-7l for gctc-ntg-context-518@m.gmane.org; Tue, 04 Aug 2009 16:10:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79D55C9B91; Tue, 4 Aug 2009 16:10:03 +0200 (CEST) Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GVRh0SQlPfNG; Tue, 4 Aug 2009 16:10:03 +0200 (CEST) Original-Received: from balder.elvenkind.com (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE6AEC9B59; Tue, 4 Aug 2009 16:10:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8BA63C9B59 for ; Tue, 4 Aug 2009 16:10:01 +0200 (CEST) Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VU+Xe-h2ZRZe for ; Tue, 4 Aug 2009 16:10:01 +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 70759C9B4F for ; Tue, 4 Aug 2009 16:10:01 +0200 (CEST) Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1MYKiF-00025V-Rf for ntg-context@ntg.nl; Tue, 04 Aug 2009 16:09:59 +0200 Resent-From: Matthijs Kooijman Resent-Date: Tue, 4 Aug 2009 16:09:59 +0200 Resent-Message-ID: <20090804140959.GQ20017@katherina.student.utwente.nl> Resent-To: ntg-context@ntg.nl 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) Resent-Date: Tue, 04 Aug 2009 16:09:59 +0200 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 X-Broken-Reverse-DNS: no host name found for IP address 195.12.62.10 Xref: news.gmane.org gmane.comp.tex.context:52070 Archived-At: --===============2022455914== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kRrI7QRWkL5i55aQ" Content-Disposition: inline --kRrI7QRWkL5i55aQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --kRrI7QRWkL5i55aQ 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) iEYEARECAAYFAkptj7kACgkQz0nQ5oovr7xLfwCeOuQvDxB1V8DbTnMwwJHKPuBa UjIAnREwM8NYg0dzOqtyDxzvxVNbII4n =wxHO -----END PGP SIGNATURE----- --kRrI7QRWkL5i55aQ-- --===============2022455914== 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 ___________________________________________________________________________________ --===============2022455914==--