From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94307 Path: news.gmane.org!not-for-mail From: "Meer, Hans van der" Newsgroups: gmane.comp.tex.context Subject: Re: MPinstance Date: Thu, 7 Apr 2016 16:48:29 +0000 Message-ID: <6A0CCD12-52D5-46B2-AA79-58BA97432830@uva.nl> References: <9F262FF9-6309-48D1-9402-51B5463BD73C@ziggo.nl> <5706330F.3090601@wxs.nl> <20160407083534.1a35013e@cea.fr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2310880287165647817==" X-Trace: ger.gmane.org 1460047752 8418 80.91.229.3 (7 Apr 2016 16:49:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2016 16:49:12 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 07 18:48:59 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aoD74-0003lF-1r for gctc-ntg-context-518@m.gmane.org; Thu, 07 Apr 2016 18:48:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 37B5DA140; Thu, 7 Apr 2016 18:48:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 636MsY18qIFS; Thu, 7 Apr 2016 18:48:43 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7FAA3A142; Thu, 7 Apr 2016 18:48:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4EE00A140 for ; Thu, 7 Apr 2016 18:48:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JOwdfvsEENcI for ; Thu, 7 Apr 2016 18:48:40 +0200 (CEST) Original-Received: from HUB02.uva.nl (hub02.uva.nl [146.50.108.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id E44D3A13F for ; Thu, 7 Apr 2016 18:48:30 +0200 (CEST) Original-Received: from MBX02.uva.nl ([169.254.2.58]) by HUB02.uva.nl ([::1]) with mapi id 14.03.0266.001; Thu, 7 Apr 2016 18:48:31 +0200 Thread-Topic: [NTG-context] MPinstance Thread-Index: AQHRkO1PzdqXJOgedkG91R7PLEySRQ== In-Reply-To: <20160407083534.1a35013e@cea.fr> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.106.134.200] x-endpointsecurity-0xde81-ev: v:6.2.7.719, d:out, a:y, w:t, t:0, sv:1460031289, ts:1460047711 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94307 Archived-At: --===============2310880287165647817== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_6A0CCD1252D546B2AA7958BA97432830uvanl_" --_000_6A0CCD1252D546B2AA7958BA97432830uvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Alan Braslau wrote: For example, I work with a "3D" instance of MP: \defineMPinstance [three] [format=3Dmetafun, extensions=3Dyes, initializations=3Dyes, method=3Ddouble] \startMPdefinitions{three} input three ; \stopMPdefinitions Where three.mp contains my 3D projection macros. Use is then \startMPcode{three} ... \stopMPcode Does this mean that \startMPdefinitions is identical (in effect) with \star= tMPextensions? Its use here seems to suggest. Or if otherwise, what is the difference in usage? Hans van der Meer --_000_6A0CCD1252D546B2AA7958BA97432830uvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable

Alan Braslau wrote:

= For example, I work with a "3D" instance of MP:

\defineMPinstanc= e
 [three]
 [format=3D= metafun,
  exte= nsions=3Dyes,
  init= ializations=3Dyes,
  meth= od=3Ddouble]

\startMPdefiniti= ons{three}
 input three ;
\stopMPdefinitio= ns

Where three.mp contains my 3D projection macros.

Use is then

\startMPcode{thr= ee}
...
\stopMPcode


Does this mean that \startMPdefinitions is identical (in ef= fect) with \startMPextensions? Its use here seems to suggest.
Or if otherwise, what is the difference in usage?

Hans van der Meer

--_000_6A0CCD1252D546B2AA7958BA97432830uvanl_-- --===============2310880287165647817== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============2310880287165647817==--