From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48759 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: The very last macro Date: Wed, 25 Mar 2009 11:53:09 -0400 (EDT) Message-ID: References: <83910196-4537-4E71-A914-AAB5A0A0E39E@gmail.com> <320CE710-C72C-4743-AC5D-6583894137A8@gmail.com> <97BB51A9-F5CA-48C0-92D4-A2AD8ABF7E09@gmail.com> <6F1F89DD-1733-45C8-A745-2CA04DAEB898@gmail.com> <49CA4CE2.9050703@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-120969545-1237996390=:27124" X-Trace: ger.gmane.org 1237996485 6041 80.91.229.12 (25 Mar 2009 15:54:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Mar 2009 15:54:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 25 16:56:03 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LmVSA-0003Kz-VI for gctc-ntg-context-518@m.gmane.org; Wed, 25 Mar 2009 16:55:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9B311FB95; Wed, 25 Mar 2009 16:54:17 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11025-04-3; Wed, 25 Mar 2009 16:53:41 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1B061FB60; Wed, 25 Mar 2009 16:53:41 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1BF741FB77 for ; Wed, 25 Mar 2009 16:53:41 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11025-04-2 for ; Wed, 25 Mar 2009 16:53:33 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 17DA41FB60 for ; Wed, 25 Mar 2009 16:53:33 +0100 (CET) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n2PFrUCi018576 for ; Wed, 25 Mar 2009 16:53:31 +0100 Original-Received: FROM [192.168.2.8] (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY skycaptain.mr.itd.umich.edu ID 49CA5379.4E566.9995 ; 25 Mar 2009 11:53:29 -0400 In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.93.160; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 198980000 - c68857318b90 - 20090325 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:48759 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-120969545-1237996390=:27124 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Wed, 25 Mar 2009, luigi scarso wrote: > On Wed, Mar 25, 2009 at 4:25 PM, Peter Rolf wrote: >> luigi scarso schrieb: >>> >>> On Wed, Mar 25, 2009 at 3:44 PM, Wolfgang Schuster >>> wrote: >>> >>>> >>>> Am 25.03.2009 um 15:00 schrieb luigi scarso: >>>> >>>> >>>>> >>>>> I'm not saying that this macro exists; >>>>> (of course one =C2=A0can manipulate /bin/context (or others =C2=A0scr= ipts) >>>>> even rewrite \stoptext ) >>>>> >>>> >>>> \def\LuigisWhateverShouldHappen{Something Luigi want to do for some >>>> unknown >>>> reason.} >>>> >>>> \let\luigissavednormalend\normalend >>>> >>>> \def\normalend{\luigissavednormalend\LuigisWhateverShouldHappen} >>>> >>> >>> hmm >>> >>> \def\LuigisWhateverShouldHappen{\immediate\write16{BOOOM!}Something >>> Luigi want to do for some unknown reason.\immediate\write16{BOOOM!}} >>> >>> \let\luigissavednormalend\normalend >>> >>> \def\normalend{\luigissavednormalend\LuigisWhateverShouldHappen} >>> >>> >>> \starttext >>> hello >>> \stoptext >>> >>> >>> Ok , I don't see "Something....reason." in pdf ,but .... >>> do you see BOOOM! in output or log ? >>> >>> I don't -- so I can't say that \LuigisWhateverShouldHappen it's the >>> last macro before end run :( . >>> >>> Your solution =C2=A0looks like a macro or =C2=A0text after \stoptext = =C2=A0-- we have >>> already seen it -- . >>> >>> >>> >>> I start to suspect that this macro does =C2=A0not exists . >>> >>> >> >> try >> >> \appendtoks\LuigisWhateverShouldHappen \to \everylastshipout >> > > > > \def\LuigisWhateverShouldHappen{\immediate\write16{BOOOM!}Something > Luigi want to do for some unknown reason.\immediate\write16{BOOOM!}} > > \appendtoks\LuigisWhateverShouldHappen \to \everylastshipout > \starttext > hello > \stoptext > > > hmm, > 'Something Luigi want to do for some unknown reason.' > appears (without quote) at very end of page 1 You said that you wanted \LuigisWhateverShouldHappen macro to be executed,= =20 which in turn means that \immediate\write18 is executed, the text=20 Something .... reason is written to the pdf, and the macro=20 \imediate\write18 is executed. If you do not want the text to be written to the pdf, do not add it to=20 \LuigisWhat... macro :-) Aditya --8323328-120969545-1237996390=:27124 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 ___________________________________________________________________________________ --8323328-120969545-1237996390=:27124--