From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24930 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: gnuplot for Mojca Date: Wed, 04 Jan 2006 09:55:15 +0100 Message-ID: <43BB8D73.9070400@wxs.nl> References: <6faad9f00601030018h35a6a95cj5bf3ce468e39f4eb@mail.gmail.com> <6faad9f00601031227k520f1c82k386b7c246e7031f1@mail.gmail.com> <43BAF5B1.1010703@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1136364949 17114 80.91.229.2 (4 Jan 2006 08:55:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Jan 2006 08:55:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Jan 04 09:55:39 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 1Eu4QY-0006Tr-Iq for gctc-ntg-context-518@m.gmane.org; Wed, 04 Jan 2006 09:55:26 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6251E127C3; Wed, 4 Jan 2006 09:55:24 +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 04399-04; Wed, 4 Jan 2006 09:55:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 17896127A3; Wed, 4 Jan 2006 09:55:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91D5F127A3 for ; Wed, 4 Jan 2006 09:55:20 +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 04516-01 for ; Wed, 4 Jan 2006 09:55:19 +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 8834C12797 for ; Wed, 4 Jan 2006 09:55:19 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 10187 for ; Wed, 04 Jan 2006 10:04:16 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: ntg-context@ntg.nl In-Reply-To: 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.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:24930 Archived-At: =EF=BF=BD wrote: >On Tue, 3 Jan 2006, Hans Hagen wrote: > > =20 > >>i leave it to you to figure out why i don't get output >> =20 >> > >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: > > =20 > >> {\def\par{\rawcharacter{13}}% >> =20 >> > >changed to {\def\par{\rawcharacter{10}}% >because 13 is CR (\r), but gnuplot needs LF (\n) here (Linux) > =20 > this is indeed an issue; either i let texexec set the platform character=20 (no problem) or taco extends pdftex with \pdfnewline >But I don't understand, why the \par must be redefined, is it because >\obeylines transforms newlines to paragraphs? > =20 > indeed, just comment the def and see what happens (you get a \par) > =20 > >> {\executesystemcommand{start d:/gnuplot/bin/pgnuplot #1.job}% >> =20 >> > >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. > =20 > ah, add [object=3Dno] in order to disable reuse Hans