From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71214 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: metafun shared code Date: Mon, 19 Sep 2011 17:21:46 +0200 Message-ID: <4E775E0A.1020202@gmx.net> References: <1316444480.3473.1.camel@marcin-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1316445722 22857 80.91.229.12 (19 Sep 2011 15:22:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2011 15:22:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 19 17:21:58 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 1R5ffR-0001JV-OI for gctc-ntg-context-518@m.gmane.org; Mon, 19 Sep 2011 17:21:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 74688CAFAD; Mon, 19 Sep 2011 17:21:56 +0200 (CEST) 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 t+0OlymbUVmS; Mon, 19 Sep 2011 17:21:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A472CAFA9; Mon, 19 Sep 2011 17:21:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 493E2CAFA9 for ; Mon, 19 Sep 2011 17:21:52 +0200 (CEST) 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 CtyuC4Q2RyLj for ; Mon, 19 Sep 2011 17:21:46 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 1C745CAFA8 for ; Mon, 19 Sep 2011 17:21:46 +0200 (CEST) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p8JFLjG0009443 for ; Mon, 19 Sep 2011 17:21:45 +0200 Original-Received: (qmail invoked by alias); 19 Sep 2011 15:21:45 -0000 Original-Received: from ip-95-222-36-122.unitymediagroup.de (EHLO [192.168.178.3]) [95.222.36.122] by mail.gmx.net (mp006) with SMTP; 19 Sep 2011 17:21:45 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1/dVPQ2PEDdNGTRDht6QexEaNnAhePIalTXRmVdDH sLAmXHzj26ce/Y User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 In-Reply-To: <1316444480.3473.1.camel@marcin-laptop> X-Enigmail-Version: 1.3.1 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: 0rFyDlJV1 - 978a3c429d47 - 20110919 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:71214 Archived-At: Am 19.09.2011 17:01, schrieb Marcin Borkowski: > Hi all, > > I'd like to have some MP code shared between unique graphics (in MkIV). > > One example: I'd like to have drawoptions for all graphics. > > Another one: I'd like to have two similar (but different) unique > graphics, and I'd like them to share some code. > > How to do these two things? > \startMPinitializations \stopMPinitializations Can be used multiple times (no reset of previous data). > Best > ___________________________________________________________________________________ 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 ___________________________________________________________________________________