From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29979 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: TeX trigger in MP macro Date: Fri, 04 Aug 2006 14:42:42 +0200 Message-ID: <44D340C2.2050407@elvenkind.com> 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> 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 1154695401 22330 80.91.229.2 (4 Aug 2006 12:43:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 4 Aug 2006 12:43:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 04 14:43:16 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 1G8z17-0003sy-Dj for gctc-ntg-context-518@m.gmane.org; Fri, 04 Aug 2006 14:43:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC39B1FC14; Fri, 4 Aug 2006 14:43:04 +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 31702-01; Fri, 4 Aug 2006 14:42:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC83E1FFAD; Fri, 4 Aug 2006 14:42:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 33ADF1FFAD for ; Fri, 4 Aug 2006 14:42:51 +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 31587-01 for ; Fri, 4 Aug 2006 14:42:45 +0200 (CEST) Original-Received: from lochside.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with SMTP id 79BEC1FC14 for ; Fri, 4 Aug 2006 14:42:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by lochside.elvenkind.com (Postfix) with ESMTP id 105761BE26 for ; Fri, 4 Aug 2006 14:42:43 +0200 (CEST) Original-Received: from lochside.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09502-07 for ; Fri, 4 Aug 2006 14:42:42 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by lochside.elvenkind.com (Postfix) with ESMTP id C1C491B946 for ; Fri, 4 Aug 2006 14:42:42 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0.6-7.1.20060mdk (X11/20050322) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <44D33D2B.2020300@gmx.net> X-Virus-Scanned: by amavisd-new at elvenkind.net 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:29979 Archived-At: 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 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. Cheers, Taco