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/
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to