From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40416 Path: news.gmane.org!not-for-mail From: John Devereux Newsgroups: gmane.comp.tex.context Subject: Re: gnuplot module Date: Thu, 17 Apr 2008 15:27:09 +0100 Message-ID: <87ej94o8ua.fsf@cordelia.devereux.me.uk> References: <87abjvl7z5.fsf@cordelia.devereux.me.uk> <6faad9f00804150346l3b78887drc47e996352df558e@mail.gmail.com> <8763ujl5qc.fsf@cordelia.devereux.me.uk> <6faad9f00804150517s7fe84a08y12231b0601d94ab4@mail.gmail.com> <87y77fjn4y.fsf@cordelia.devereux.me.uk> <6faad9f00804150559j6f2bafd0u3f5e67010e1a5cdc@mail.gmail.com> <87zlrtj09u.fsf@cordelia.devereux.me.uk> <6faad9f00804161129m385c801al9839ca21d56168e@mail.gmail.com> <871w55ppqp.fsf_-_@cordelia.devereux.me.uk> <6faad9f00804170642y6ddb075dvf2d0008b801ee7b0@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1208443316 2596 80.91.229.12 (17 Apr 2008 14:41:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Apr 2008 14:41:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 17 16:42:32 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1JmV6m-0006aW-Ms for gctc-ntg-context-518@m.gmane.org; Thu, 17 Apr 2008 16:29:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 418111FCA2; Thu, 17 Apr 2008 16:28:24 +0200 (CEST) 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 27553-01-10; Thu, 17 Apr 2008 16:27:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4ECA51FC71; Thu, 17 Apr 2008 16:27:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8D971FC71 for ; Thu, 17 Apr 2008 16:27:44 +0200 (CEST) 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 28836-01-2 for ; Thu, 17 Apr 2008 16:27:12 +0200 (CEST) Original-Received: from cordelia.devereux.me.uk (devereux.me.uk [217.169.15.178]) by ronja.ntg.nl (Postfix) with ESMTP id 42C6C1FBD0 for ; Thu, 17 Apr 2008 16:27:12 +0200 (CEST) Original-Received: from [217.169.15.178] (helo=cordelia.devereux.me.uk ident=jd) by cordelia.devereux.me.uk with esmtp (Exim 4.69) (envelope-from ) id 1JmV4x-0003E1-J8 for ntg-context@ntg.nl; Thu, 17 Apr 2008 15:27:11 +0100 In-Reply-To: <6faad9f00804170642y6ddb075dvf2d0008b801ee7b0@mail.gmail.com> (Mojca Miklavec's message of "Thu\, 17 Apr 2008 15\:42\:56 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:40416 Archived-At: "Mojca Miklavec" 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 ___________________________________________________________________________________