From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26059 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: gnuplot mode Date: Mon, 20 Feb 2006 12:12:08 +0100 Message-ID: <43F9A408.4020004@wxs.nl> References: <43F37000.2090901@nibua-r.org> <43F38992.2080301@wxs.nl> <43F38EB9.9080205@nibua-r.org> <43F398C8.4070504@wxs.nl> <43F3A06B.1090508@nibua-r.org> <43F3AAA1.7070601@wxs.nl> <43F3AE05.4080805@nibua-r.org> <43F441A2.1090905@nibua-r.org> <6faad9f00602172113j314238ch3877fba79e491b86@mail.gmail.com> <43F6E3F4.8060908@wxs.nl> <6faad9f00602190508x5cee9b6cja3e26f3bfcac68d4@mail.gmail.com> 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 1140434150 32710 80.91.229.2 (20 Feb 2006 11:15:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2006 11:15:50 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 20 12:15:45 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 1FB90P-0003I9-Db for gctc-ntg-context-518@m.gmane.org; Mon, 20 Feb 2006 12:15:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3274012775; Mon, 20 Feb 2006 12:15:01 +0100 (CET) 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 15378-01; Mon, 20 Feb 2006 12:15:00 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD4B512799; Mon, 20 Feb 2006 12:12:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C3B012799 for ; Mon, 20 Feb 2006 12:12:05 +0100 (CET) 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 15249-05 for ; Mon, 20 Feb 2006 12:12:04 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with SMTP id 4C8EE12792 for ; Mon, 20 Feb 2006 12:12:03 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 6310 for ; Mon, 20 Feb 2006 14:12:03 +0300 User-Agent: Thunderbird 1.5 (Windows/20051201) Original-To: mailing list for ConTeXt users In-Reply-To: <6faad9f00602190508x5cee9b6cja3e26f3bfcac68d4@mail.gmail.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 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:26059 Archived-At: Mojca Miklavec wrote: > The problem with verbatim ... etex is that you somehow "preprocess it" > or I don't know what you do with it. So if one writes > it's normally expanded, but with regards to passing environments, there is hardly any expansion involved; also, when i set it from within context, i can use the same mechanisms as with the normal mp run; let's worry about that later > \def\GnuplotPoint#1{...} into verbatimtex it results in something like > \def \GnuplotPoint ##1 {}, of you write \let\GnuplotPoint\relax, it > results in \let \relax. \input works because it has some luck that it > doesn't get modified during preprocessing. > best put such defs in a separate environment, and then say \input thatfile ; this avoids the expansion and hash duplication > >> set terminal mp verbatimtex "..." >> set terminal context environment "..." >> > > I already did that, but as I mentioned above - it crashed ... > > But in any case: global metapost environment works perfectly!!! > (header would still be useful, but for graphics for inclusion the > setting can be done in the main document and for standalone graphics > one can temporary edit it manually, but I'll try to fix). > Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------