From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29980 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: TeX trigger in MP macro Date: Fri, 04 Aug 2006 15:04:51 +0200 Message-ID: <44D345F3.5090207@gmx.net> References: <44D1EC33.9030203@gmx.net> <44D28032.4010902@wxs.nl> <44D32831.2060209@gmx.net> <44D32BF9.5070902@elvenkind.com> <44D32CCA.4000505@elvenkind.com> <44D33D2B.2020300@gmx.net> <44D340C2.2050407@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1154696815 27232 80.91.229.2 (4 Aug 2006 13:06:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 13:06:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 04 15:06:53 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1G8zNy-0000ar-Ee for gctc-ntg-context-518@m.gmane.org; Fri, 04 Aug 2006 15:06:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 974E91FFB0; Fri, 4 Aug 2006 15:06:41 +0200 (CEST) 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 00531-03; Fri, 4 Aug 2006 15:06:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F29581FFB6; Fri, 4 Aug 2006 15:04:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6C9F21FFB6 for ; Fri, 4 Aug 2006 15:04:53 +0200 (CEST) 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 00531-02-3 for ; Fri, 4 Aug 2006 15:04:46 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id E694F1FFB0 for ; Fri, 4 Aug 2006 15:04:43 +0200 (CEST) Original-Received: (qmail invoked by alias); 04 Aug 2006 13:04:43 -0000 Original-Received: from i577BA092.versanet.de (EHLO [192.168.1.3]) [87.123.160.146] by mail.gmx.net (mp028) with SMTP; 04 Aug 2006 15:04:43 +0200 X-Authenticated: #24293357 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) Original-To: mailing list for ConTeXt users In-Reply-To: <44D340C2.2050407@elvenkind.com> X-Enigmail-Version: 0.94.0.0 X-Y-GMX-Trusted: 0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:29980 Archived-At: Taco Hoekwater wrote: > > Peter Rolf wrote: >> BTW: Why do I need a semicolon after 'endgroup', but (in most cases) not >> after 'fi', 'endfor'? > > You need a semicolon at the end of a statement. The and > constructs are not statements, they are preprocessed. > > You get the 'extra tokens' error when Metapost sees something like > > endgroup a:=1; > > because it knows that 'endgroup' can only be a statement on its own. > I see. A day of insight :) >>> (I just looked at your pdf document). >>> >>> You probably want 'useMPgraphic' instead of 'uniqueMPgraphic'. >>> >> I'm not sure what you mean. Using 'useMPgraphic' to load all kind of MP >> graphics? > > You have to use \startuseMPgraphic and \useMPgraphic instead of > \startuniqueMPgraphic, otherwise the output of both images will be > identical. > Again stupid me. If the size of the overlay does not change, the graphic does not. So this was a 'bad' example (but now the beta runs like a charm). Thanks Taco. Greetings, Peter > Cheers, Taco > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > >