From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65402 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Stefan_M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Re: Labels in MetaPost (MetaObj) Date: Sun, 23 Jan 2011 12:40:39 +0100 Message-ID: <4D3C13B7.8040501@gmx.de> References: <4D3584E9.20603@gmx.de> <4D37F96A.1020801@elvenkind.com> <4D3A126F.8030804@wxs.nl> <4D3ADACE.7090900@gmx.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295782876 24065 80.91.229.12 (23 Jan 2011 11:41:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 Jan 2011 11:41:16 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 23 12:41:12 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PgyJk-0004w1-2s for gctc-ntg-context-518@m.gmane.org; Sun, 23 Jan 2011 12:41:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95F16CA99C; Sun, 23 Jan 2011 12:41:10 +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 1yn65O0Fwa4B; Sun, 23 Jan 2011 12:41:08 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC0DBCA96E; Sun, 23 Jan 2011 12:41:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F01ACA96E for ; Sun, 23 Jan 2011 12:41:07 +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 abtU0GeyzV3F for ; Sun, 23 Jan 2011 12:40:56 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 5703FCA96D for ; Sun, 23 Jan 2011 12:40:56 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p0NBet0d006775 for ; Sun, 23 Jan 2011 12:40:55 +0100 Original-Received: (qmail invoked by alias); 23 Jan 2011 11:40:54 -0000 Original-Received: from 77-64-190-60.dynamic.primacom.net (EHLO [192.168.100.108]) [77.64.190.60] by mail.gmx.net (mp006) with SMTP; 23 Jan 2011 12:40:54 +0100 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX1+xxOIb3YqxCCNioOoDIxg5lu8Ze8P2Crh9S2y6IT R9VsdyTm5Qj320 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DWXETt3 - 85bb8c3dda68 - 20110123 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:65402 Archived-At: On 22.01.2011 17:30, Aditya Mahajan wrote: > On Sat, 22 Jan 2011, Stefan M=FCller wrote: > >> So its either using text or using metaobj? Too bad, metaobj is quite >> fun... I still hope you guys can fix this, but it's not urgent (to me). >> >> Anyway, what does the [+] after \startMPinclusions? I did not find >> documentation for that on the wiki. > > \startMPinclusions > path a ; > \stopMPinclusions > > \startMPinclusions > a :=3D (0,0) -- (1cm,0) ; > \stopMPinclusions > > will fail, because the second inclusions overwrites the first. If you > use [+], then the second inclusions in appended after the first. Thank you for the explanation. So if I only have one "inclusions = section" it doesn't matter? >> Just as a wild guess I tested the example below today, trying to make >> use of the things Aditya said, but to no avail. > > The trick is to ensure that the offending code (assignObj) is not run > twice. Your example works perfect. Many thanks for that as well. I didn't = realize, that assignObj is causing the trouble, but now it's obvious. = I'm just curious: the MP-code is only run twice by context if it = contains labels, right? Otherwise I don't understand why the assignObj = isn't always failing. > @Hans, can we have a `trialtypesetting` for MP code? > > Aditya Stefan ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________