From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52547 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: Tue, 25 Aug 2009 12:47:47 +0200 Message-ID: <20090825104747.GC12901@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> <20090813101054.GP20017@katherina.student.utwente.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1620621380==" X-Trace: ger.gmane.org 1251197283 17343 80.91.229.12 (25 Aug 2009 10:48:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2009 10:48:03 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Aug 25 12:47:56 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 1MftZD-0000wr-Rz for gctc-ntg-context-518@m.gmane.org; Tue, 25 Aug 2009 12:47:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E9BAC9B10; Tue, 25 Aug 2009 12:47:55 +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 Z7U8KL6CJRQM; Tue, 25 Aug 2009 12:47:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2B722C9AF1; Tue, 25 Aug 2009 12:47:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E48F2C9AF1 for ; Tue, 25 Aug 2009 12:47:50 +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 1i1D0Ek16kYk for ; Tue, 25 Aug 2009 12:47:48 +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 9D6EAC9AE3 for ; Tue, 25 Aug 2009 12:47:47 +0200 (CEST) Original-Received: from matthijs by katherina.student.utwente.nl with local (Exim 4.69) (envelope-from ) id 1MftZ5-0002C4-5C; Tue, 25 Aug 2009 12:47:47 +0200 Mail-Followup-To: mailing list for ConTeXt users , Hans Hagen In-Reply-To: <20090813101054.GP20017@katherina.student.utwente.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:52547 Archived-At: --===============1620621380== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TYecfFk8j8mZq+dy" Content-Disposition: inline --TYecfFk8j8mZq+dy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Hans, any chance of replying to this mail? Currently, you only applied half of the patch, so it's not usable yet at all. Gr. Matthijs On Thu, Aug 13, 2009 at 12:10:54PM +0200, Matthijs Kooijman wrote: > (I've sent this mail before, but I think the mailing list troubles might = have > eaten it). >=20 > Hi Hans, >=20 > > 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 seem= s you > missed this part of my patch? >=20 > Also, I think you didn't update the definition of \type to use the typesi= ngle > lua function I proposed, which means that \type{} commands won't get > begin_of_buffer and end_of_buffer called at all. >=20 > Am I missing something, or did you? Will you fix this, or should I prepar= e a > new patch? >=20 > > i also moved the pretty printers to another namespace so you need to us= e =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. >=20 > > you need to adapt the wiki accordingly > I will, as soon as I get things working again :-) >=20 > Gr. >=20 > Matthijs > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : https://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --TYecfFk8j8mZq+dy 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) iEYEARECAAYFAkqTwVIACgkQz0nQ5oovr7xCDACeLARRNlZhXxdkMkIVS2VpxjWL ErMAnRs2nWkY3D4J6nEPPS1oRFYDxIMm =95QD -----END PGP SIGNATURE----- --TYecfFk8j8mZq+dy-- --===============1620621380== 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 ___________________________________________________________________________________ --===============1620621380==--