"Mojca Miklavec"
On Thu, Apr 17, 2008 at 4:27 PM, John Devereux wrote:
"Mojca Miklavec" writes:
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]
This sounds fine (having a --debug-like option), but one more question - what about caching existing results? (If all files are deleted, then it's not possible to ask for --ifchanged, so gnuplot needs to be run each time.)
Actually the configurable temp dir would be OK too. texexec document.tex --tempdir=./temporaries Regarding cacheing, this would be nice but I don't know if it can be done. I think you still need to run gnuplot in case the data has changed.
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.
That's not too practical.
-- John Devereux