ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Devereux <jdREMOVE@THISdevereux.me.uk>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: gnuplot module
Date: Thu, 17 Apr 2008 15:27:09 +0100	[thread overview]
Message-ID: <87ej94o8ua.fsf@cordelia.devereux.me.uk> (raw)
In-Reply-To: <6faad9f00804170642y6ddb075dvf2d0008b801ee7b0@mail.gmail.com> (Mojca Miklavec's message of "Thu\, 17 Apr 2008 15\:42\:56 +0200")

"Mojca Miklavec" <mojca.miklavec.lists@gmail.com> writes:

> On Wed, Apr 16, 2008 at 9:24 PM, John Devereux wrote:
>> "Mojca Miklavec" writes:
>>
>>  I really like gnuplot and the gnuplot module. It is great to be able
>>  to include the data inline with the document. And it would be nice to
>>  see it part of the distribution. I am using a stock debian gnuplot, so
>>  I don't know the implications of the context and TikZ terminals.
>
> No major difference. But it would (should, at least) be compatible
> with all the three: LaTeX/plain/ConTeXt.
>
>>  Does
>>  it mean I would not end up with so many  *-gnuplot-* files? :)
>
> When I have developed the terminal with enormous Hans's and Taco's
> help, I have asked him to implement some functionality to delete the
> files with ctxtools --purge. He has implemented some functionality
> (\registertempfile or something - need to check), but it deletes the
> files automatically at the end of run, so one either needs to:
> - delete the files
> - leave the files
> - no option to delete files with ctxtools
> The problem with deleting the files immediately is that if you make a
> trivial mistake in the gnuplot script, gnuplot won't create any
> output, and it's rather difficult to spot the error in the long bunch
> of ConTeXt messages. You just get no graphic, any you wonder why.
>
> Do you have any suggestions about how to reduce the number of files in
> some sensible way?

The ideal would be an option when processing the source file, to turn
off file deletion. Like

texexec document.tex --keep-temporaries

So by default the source directory would be kept clean, but when
"debugging" the intermediate files would be available.

Or perhaps some option passed to \startGNUPLOTscript (or
\useGNUPLOTgraphic) if that is possible?

 \startGNUPLOTscript[example][keeptemporaryfile=yes]

That might be better otherwise debugging a big document could result
it hundreds of files.

Another possibility would be to put the files in /tmp.

-- 

John Devereux
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2008-04-17 14:27 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-12 20:53 Unable to generate luatex formats Michael Green
2008-04-13  8:02 ` Taco Hoekwater
2008-04-13 11:54   ` Hans Hagen
2008-04-13 10:12 ` Jean Magnan de Bornier
2008-04-15  7:57 ` John Devereux
2008-04-15  9:31   ` Taco Hoekwater
2008-04-15  9:44     ` John Devereux
2008-04-15  9:56       ` Hans Hagen
2008-04-15 10:37         ` John Devereux
2008-04-15 10:46           ` Mojca Miklavec
2008-04-15 11:25             ` John Devereux
2008-04-15 12:17               ` Mojca Miklavec
2008-04-15 12:52                 ` John Devereux
2008-04-15 12:59                   ` Mojca Miklavec
2008-04-16 15:18                     ` John Devereux
2008-04-16 18:29                       ` Mojca Miklavec
2008-04-16 19:24                         ` gnuplot module John Devereux
2008-04-17 13:42                           ` Mojca Miklavec
2008-04-17 14:23                             ` Henning Hraban Ramm
2008-04-17 14:31                               ` Mojca Miklavec
2008-04-17 14:27                             ` John Devereux [this message]
2008-04-17 14:37                               ` Mojca Miklavec
2008-04-17 15:31                                 ` John Devereux
2008-04-15 14:16                   ` Unable to generate luatex formats Hans van der Meer
2008-04-15 14:29                     ` Mojca Miklavec
2008-04-15 14:31                       ` Mojca Miklavec
2008-04-15 15:00                     ` Hans Hagen
2008-04-15 10:40         ` Hans van der Meer
2008-04-15  9:43   ` Mojca Miklavec
2008-04-16 10:21   ` John Devereux
2008-04-16 18:53 ` Joel C. Salomon
2008-04-16 19:01   ` Mojca Miklavec
2008-04-16 20:32   ` Hans Hagen
2008-04-17  4:55     ` Joel C. Salomon
2008-04-17  7:50       ` Taco Hoekwater
2008-04-17  8:03       ` Hans Hagen
2011-12-12  0:40 gnuplot module Mojca Miklavec
2011-12-12  0:49 ` Paul Menzel

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=87ej94o8ua.fsf@cordelia.devereux.me.uk \
    --to=jdremove@thisdevereux.me.uk \
    --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).