From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74936 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Hooking \stoptext Date: Wed, 7 Mar 2012 15:39:23 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0278625810==" X-Trace: dough.gmane.org 1331131192 3035 80.91.229.3 (7 Mar 2012 14:39:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 7 Mar 2012 14:39:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 07 15:39:52 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S5I1r-0005bw-Ai for gctc-ntg-context-518@m.gmane.org; Wed, 07 Mar 2012 15:39:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5F33CB260; Wed, 7 Mar 2012 15:39:46 +0100 (CET) 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 cyLYL3Tw5zLx; Wed, 7 Mar 2012 15:39:41 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 00726CB251; Wed, 7 Mar 2012 15:39:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C115CB251 for ; Wed, 7 Mar 2012 15:39:39 +0100 (CET) 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 Z2OgjA86Ukpz for ; Wed, 7 Mar 2012 15:39:26 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 09E4BCAB03 for ; Wed, 7 Mar 2012 15:39:25 +0100 (CET) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q27EdOWG007820 for ; Wed, 7 Mar 2012 15:39:25 +0100 Original-Received: by iajr24 with SMTP id r24so11399991iaj.14 for ; Wed, 07 Mar 2012 06:39:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cc6Sii69+BRPtEMeEaI3T/o08WgiexbA1+rLB/MDsJk=; b=Hp5ulV8koi/l5RBM6vVZJGSMSTEFbjkvs2xHfuBCNoj8LzMP9nrOwoND7tPJwdOBOU fiOKckAKLL0XcZjgqc7okSRzQzd9pjOk38hi99siip21mT0LZpUSOipiAhA2RmDnoJHM diBVRvWBWXqsDdffgVAN+cxJ1Vk8r/s6L/uFW15dRvZfD8XyOeZyjGi9n53vNBmKIPdw uK+9/nFIAOW9P+uZkc3ryh5SsaNWKRobZk8iG0ORPb9fjXO2trqv84ICtW3+ZnsfaIqr trPDxezMz04ZmpWzV7Ob510eb1CmvTlDJEt1jRQeypzks4uzBZMuECpG7ePD+TJMLXst wGYQ== Original-Received: by 10.42.131.129 with SMTP id z1mr1451974ics.53.1331131164147; Wed, 07 Mar 2012 06:39:24 -0800 (PST) Original-Received: by 10.50.216.137 with HTTP; Wed, 7 Mar 2012 06:39:23 -0800 (PST) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGGCDoQB - 9484d11e08fb - 20120307 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:74936 Archived-At: --===============0278625810== Content-Type: multipart/alternative; boundary=90e6ba6134b830419904baa820bd --90e6ba6134b830419904baa820bd Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2012/3/7 Proch=C3=A1zka Luk=C3=A1=C5=A1 Ing. - Pontex s. r. o. > Hello, > > I'd need to to hook \stoptext by Lua - I'd need to write something right > before the end of the text. > At least \let\Oldstoptext\stoptext \def\stoptext{% \startluacode context("END") \stopluacode \Oldstoptext} \starttext \input knuth \stoptext % To be hooked by Lua But there are several \every* tokens list for this. --=20 luigi --90e6ba6134b830419904baa820bd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

2012/3/7 Proch=C3=A1zka Luk=C3=A1=C5=A1 = Ing. - Pontex s. r. o. <LPr@pontex.cz>
Hello,

I'd need to to hook \stoptext by Lua - I'd need to write something = right before the end of the text.

At least
\let\Oldstoptext\stoptext
\def\stoptext{%
\startluacode context("END")
\stopluacode
\Oldstoptext}


\start= text
=C2=A0\input knuth
\stoptext % To be hooked by Lua


Bu= t there are several \every* tokens list for this.
--
luigi

--90e6ba6134b830419904baa820bd-- --===============0278625810== 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 ___________________________________________________________________________________ --===============0278625810==--