From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84638 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Hooking stoptext Date: Tue, 8 Oct 2013 13:40:26 +0200 Message-ID: <20131008114026.GL18324@homerow> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1633516320==" X-Trace: ger.gmane.org 1381232436 27507 80.91.229.3 (8 Oct 2013 11:40:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2013 11:40:36 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 08 13:40:41 2013 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 1VTVea-000426-PP for gctc-ntg-context-518@m.gmane.org; Tue, 08 Oct 2013 13:40:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08E7D101EA; Tue, 8 Oct 2013 13:38:10 +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 n5jkl4lTL3C9; Tue, 8 Oct 2013 13:38:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7C300101DE; Tue, 8 Oct 2013 13:38:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9AF73101DE for ; Tue, 8 Oct 2013 13:38: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 7c1tQ98I0C0H for ; Tue, 8 Oct 2013 13:38:02 +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 7ACFF10193 for ; Tue, 8 Oct 2013 13:38:02 +0200 (CEST) Original-Received: from forward14.mail.yandex.net (forward14.mail.yandex.net [IPv6:2a02:6b8:0:801::4]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r98BiJgF027101 for ; Tue, 8 Oct 2013 13:44:21 +0200 Original-Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward14.mail.yandex.net (Yandex) with ESMTP id C11061981C03 for ; Tue, 8 Oct 2013 15:40:28 +0400 (MSK) Original-Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id A2C3716A0A44 for ; Tue, 8 Oct 2013 15:40:28 +0400 (MSK) Original-Received: from miun111-174.dynamic.miun.se (miun111-174.dynamic.miun.se [193.10.111.174]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NK9XoikCWM-eR0KiNU1; Tue, 8 Oct 2013 15:40:28 +0400 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0002 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a02:6b8:0:801::4; country=RU X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KyzIkI2 - 0f1a5043bfa0 - 20131008 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84638 Archived-At: --===============1633516320== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6CXocAQn8Xbegyxo" Content-Disposition: inline --6CXocAQn8Xbegyxo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9310=E2=80=9308 Proch=C3=A1zka Luk=C3=A1=C5=A1 Ing. - Pontex = s. r. o. wrote: > I'm trying to hook commands.stoptext()... There is already a hook for that. No need to tinker with Lua. \setupexternalfigures [location=3Ddefault] \setupdocument [after=3D\setups{document:after}] \startsetups [document:after] \startTEXpage \externalfigure [cow] \stopTEXpage \stopsetups \startdocument \input knuth \stopdocument Marco --6CXocAQn8Xbegyxo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQEcBAEBAgAGBQJSU+8qAAoJEPGqVaNSn0iK44oH/AgKmrRG3jWlu8ODWDSPeuKC tiR0weOOSyJ8cnU3iuqH5jXRImR7ZznPTu3uKle0RA9JgAusszIZalZK8W0ETGVz mDOjZ/Tt+6S2o9Y5bcn8ayIA32PpUf5TCVrmRwO7pwOl+rKtQpmQqB+ZAXAuPc3p QCebjMZFB09O2RsPGXMPe2gjZ0b77/8ADbT3umhSljtQxzhHwy2N5l5IV8UllWap 0jRhVDy5HMx7OXzF81gx81C4rPGIlFi0qcYbKlINuD5icndS2n9YtZCPGtkl0ePC B6xfHv5wLbVId01QbKgxawnr2Lb3BnVFa6FtfQtz4D96Y4Djp7Rp4iZ19JgMEnI= =fKTe -----END PGP SIGNATURE----- --6CXocAQn8Xbegyxo-- --===============1633516320== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1633516320==--