From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71213 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: Re: metafun shared code Date: Mon, 19 Sep 2011 15:19:10 +0000 Message-ID: <4063BC9E-A134-444A-9EED-A8DE04C082FE@uva.nl> 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 1316445576 21753 80.91.229.12 (19 Sep 2011 15:19:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Sep 2011 15:19:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 19 17:19:31 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 1R5fd4-0008K4-Rl for gctc-ntg-context-518@m.gmane.org; Mon, 19 Sep 2011 17:19:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA4FACAFAB; Mon, 19 Sep 2011 17:19:30 +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 LF3J0nCNABH9; Mon, 19 Sep 2011 17:19:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A310ACAFA8; Mon, 19 Sep 2011 17:19:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 77C3BCAFA8 for ; Mon, 19 Sep 2011 17:19:23 +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 gHORT0mLUmNE for ; Mon, 19 Sep 2011 17:19:17 +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 666F4CAFA7 for ; Mon, 19 Sep 2011 17:19:17 +0200 (CEST) Original-Received: from holleman.uva.nl (holleman.uva.nl [146.50.108.228]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8JFJCY2005226 for ; Mon, 19 Sep 2011 17:19:12 +0200 Original-Received: from bijvoet.uva.nl (146.50.108.241) by holleman.uva.nl (146.50.108.228) with Microsoft SMTP Server (TLS) id 14.1.289.1; Mon, 19 Sep 2011 17:19:12 +0200 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by bijvoet.uva.nl ([2002:9232:666f::9232:666f]) with mapi id 14.01.0289.001; Mon, 19 Sep 2011 17:19:11 +0200 Thread-Topic: [NTG-context] metafun shared code Thread-Index: AQHMdt0bBEvYUkpMxUeKq9lO2q3MRJVUr7QA In-Reply-To: <1316444480.3473.1.camel@marcin-laptop> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: <57F9E54B9A7F7C438B6D7603BFED5806@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.228; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rFyDjcoD - af87986cc809 - 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:71213 Archived-At: I am using code between \startMPinclusions .. \stopMPinclusions while later additions can be accumulated with \startMPinclusions[+] .. \stopMPinclusions Hans van der Meer On 19 sep. 2011, at 17:01, Marcin Borkowski wrote: > 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? > > Best > > -- > Marcin Borkowski > http://mbork.pl > ___________________________________________________________________________________ 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 ___________________________________________________________________________________