Gnuplot Development

From Wiki
Revision as of 09:49, 24 May 2006 by Mojca Miklavec (talk | contribs) (fixes for m-gnuplot)
Jump to navigation Jump to search

Different remarks about gnuplot development

Hans's note:

Once we have lua in place it should not be that difficult to make a mechanism that works as follows:

  • context calls gnuplot and opens a socket
  • and starts waiting for gp to finish
  • when gnuplot needs dimensions it talks back via the socket
  • tex executes the command send by the socket
  • etc

it needs some thinking but i thing that it is possible

What has to be fixed in m-gnuplot.tex

  • Is it possible to get rid of "^M" at the end of lines
  • Add
\defineGNUPLOThandle{eps}{postscript eps color}{eps}{texmfstart newpstopdf \GNUPLOTfile.eps}{\GNUPLOTfile.pdf}
  • [Urgently] remove start from
{\executesystemcommand{start /MIN pgnuplot \GNUPLOTfile.gpd}}
No need for /MIN and possibly use gnuplot instead of pgnuplot
  • perhaps some --iftouched switches

What has to be added to m-gnuplot.tex to support ConTeXt terminal