From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24924 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: gnuplot for Mojca Date: Tue, 3 Jan 2006 23:41:24 +0100 (CET) Message-ID: References: <6faad9f00601030018h35a6a95cj5bf3ce468e39f4eb@mail.gmail.com> <6faad9f00601031227k520f1c82k386b7c246e7031f1@mail.gmail.com> <43BAF5B1.1010703@wxs.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1136328398 16240 80.91.229.2 (3 Jan 2006 22:46:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2006 22:46:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Jan 03 23:46:34 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 1Etuv8-0002Cb-Gh for gctc-ntg-context-518@m.gmane.org; Tue, 03 Jan 2006 23:46:23 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0FB59127C6; Tue, 3 Jan 2006 23:46:22 +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 30340-05; Tue, 3 Jan 2006 23:46:21 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DBB9912792; Tue, 3 Jan 2006 23:42:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 956ED12792 for ; Tue, 3 Jan 2006 23:42:04 +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 30340-03 for ; Tue, 3 Jan 2006 23:42:03 +0100 (CET) Original-Received: from smtp4-g19.free.fr (smtp4-g19.free.fr [212.27.42.30]) by ronja.ntg.nl (Postfix) with SMTP id AE12E1278F for ; Tue, 3 Jan 2006 23:42:03 +0100 (CET) Original-Received: from gaston.free.fr (c5850-a3-2-62-147-21-51.dial.proxad.net [62.147.21.51]) by smtp4-g19.free.fr (Postfix) with ESMTP id C3DDB4EBAF for ; Tue, 3 Jan 2006 23:42:02 +0100 (CET) Original-Received: by gaston.free.fr (Postfix, from userid 500) id 1533913C062; Tue, 3 Jan 2006 23:41:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.free.fr (Postfix) with ESMTP id 113CB148132 for ; Tue, 3 Jan 2006 23:41:24 +0100 (CET) X-X-Sender: peter@gaston.free.fr Original-To: mailing list for ConTeXt users In-Reply-To: <43BAF5B1.1010703@wxs.nl> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24924 Archived-At: On Tue, 3 Jan 2006, Hans Hagen wrote: > i leave it to you to figure out why i don't get output Hello Hans, really nice example, that's the way I love to learn ConTeXt! I don't have Windows, so I had to modify your code a bit: > {\def\par{\rawcharacter{13}}% changed to {\def\par{\rawcharacter{10}}% because 13 is CR (\r), but gnuplot needs LF (\n) here (Linux) But I don't understand, why the \par must be redefined, is it because \obeylines transforms newlines to paragraphs? > {\executesystemcommand{start d:/gnuplot/bin/pgnuplot #1.job}% just {\executesystemcommand{gnuplot #1.job}% here It works well, but it's two time the cos-function, that gets included. I think, one needs a counter as in my module, to get distinguished file names for \externalfigure. Greetings, Peter -- http://pmrb.free.fr/contact/