ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
Subject: Re: gnuplot for Mojca
Date: Tue, 3 Jan 2006 23:41:24 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.58.0601032331400.31660@gaston.free.fr> (raw)
In-Reply-To: <43BAF5B1.1010703@wxs.nl>

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/

  reply	other threads:[~2006-01-03 22:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-02 10:34 Peter Münster
2006-01-03  8:18 ` Mojca Miklavec
2006-01-03 17:49   ` Peter Münster
2006-01-03 20:27     ` Mojca Miklavec
2006-01-03 21:19       ` Hans Hagen
2006-01-03 21:22       ` Hans Hagen
2006-01-03 22:07       ` Hans Hagen
2006-01-03 22:41         ` Peter Münster [this message]
2006-01-04  8:55           ` Hans Hagen
2006-01-04 14:45           ` present for mojca Hans Hagen
2006-01-04 15:34             ` Tobias Burnus
2006-01-04 16:14               ` Hans Hagen
2006-01-05 15:57                 ` Mojca Miklavec
2006-01-05 18:43                   ` Hans Hagen
2006-01-06 12:35                     ` Mojca Miklavec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0601032331400.31660@gaston.free.fr \
    --to=pmlists@free.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).