From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84639 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:43:17 +0200 Message-ID: <20131008114317.GM18324@homerow> References: <20131008114026.GL18324@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1073351388==" X-Trace: ger.gmane.org 1381232604 29427 80.91.229.3 (8 Oct 2013 11:43:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Oct 2013 11:43:24 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 08 13:43:29 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 1VTVhJ-0005E0-2I for gctc-ntg-context-518@m.gmane.org; Tue, 08 Oct 2013 13:43:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C185B101FB; Tue, 8 Oct 2013 13:40:58 +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 LMVdorkh2d6M; Tue, 8 Oct 2013 13:40:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7F526101DE; Tue, 8 Oct 2013 13:40:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E618101DE for ; Tue, 8 Oct 2013 13:40:52 +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 81PvNkWKBtN8 for ; Tue, 8 Oct 2013 13:40:51 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 7B13F10193 for ; Tue, 8 Oct 2013 13:40:51 +0200 (CEST) Original-Received: from forward4l.mail.yandex.net (forward4l.mail.yandex.net [IPv6:2a02:6b8:0:1819::4]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r98BhKqO002860 for ; Tue, 8 Oct 2013 13:43:20 +0200 Original-Received: from smtp19.mail.yandex.net (smtp19.mail.yandex.net [95.108.252.19]) by forward4l.mail.yandex.net (Yandex) with ESMTP id 387301440F57 for ; Tue, 8 Oct 2013 15:43:19 +0400 (MSK) Original-Received: from smtp19.mail.yandex.net (localhost [127.0.0.1]) by smtp19.mail.yandex.net (Yandex) with ESMTP id EAF99BE023A for ; Tue, 8 Oct 2013 15:43:18 +0400 (MSK) Original-Received: from miun111-174.dynamic.miun.se (miun111-174.dynamic.miun.se [193.10.111.174]) by smtp19.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 7ju3UAiVE6-hIM43Tn9; Tue, 8 Oct 2013 15:43:18 +0400 Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <20131008114026.GL18324@homerow> 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:1819::4; country=RU X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WKyzHkQA - 3f3d51754ed2 - 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:84639 Archived-At: --===============1073351388== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pP0ycGQONqsnqIMP" Content-Disposition: inline --pP0ycGQONqsnqIMP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9310=E2=80=9308 Marco Patzer wrote: > On 2013=E2=80=9310=E2=80=9308 Proch=C3=A1zka Luk=C3=A1=C5=A1 Ing. - Ponte= x s. r. o. wrote: >=20 > > I'm trying to hook commands.stoptext()... >=20 > There is already a hook for that. No need to tinker with Lua. >=20 > \setupexternalfigures > [location=3Ddefault] >=20 > \setupdocument > [after=3D\setups{document:after}] >=20 > \startsetups [document:after] > \startTEXpage > \externalfigure [cow] > \stopTEXpage > \stopsetups >=20 > \startdocument > \input knuth > \stopdocument Even shorter: \setupexternalfigures [location=3Ddefault] \setupdocument [after=3D{\pagefigure[cow]}] \startdocument \input knuth \stopdocument Marco --pP0ycGQONqsnqIMP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iQEcBAEBAgAGBQJSU+/VAAoJEPGqVaNSn0iKXUoH/Ax7ndOT+wgYOgcRCckm7CK0 t8yop3Axbg/14KhzG1fXq1ugxrhWmj1HuYpR+RRNIEDWagNHvYCb56CSL892wNJo HBRAcNX8BRAZ3nIv6ABc/pjXJgwd32BTzI1zOZytPBVgcMcoZUcEGUHT7tEQ+P3o 5rjr0RRxp2MH9RvHH63mhvhIetpgQtayGPghh6ihgsl9wLDNBEpDYc16zyrPjc0t ELJRqvK6cxc2EJHAaU6fE731obA2g5iMCop7sVaTWlXERtM8HxgULCBw9Zr3jTyR 9gQJAIl843TN1odPYH4fSNmwVolaFbq8mY5/PtA9xfGyJ4EY7QDW4OaBoRzg6Nw= =ZM+C -----END PGP SIGNATURE----- --pP0ycGQONqsnqIMP-- --===============1073351388== 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 ___________________________________________________________________________________ --===============1073351388==--