On Sun, Nov 14, 2010 at 23:04, Paul Menzel wrote:
Dear ConTeXt folks,
I read about the Gnuplot module [1] and I am wondering whether patching the Gnuplot binary is still necessary.
Yes. Can you please send the same message to the gnuplot mailing list? I have sent the patch upstream once in 2006, but they had two arguments against including the patch: 1.) nobody from the development team was willing to install anything else but tetex to try it out (and the module doesn't work under tetex) 2.) they assumed that I was the only user The first point should hopefully be resolved by now (module should work under MikTeX or TeX Live out-of-the-box and hopefully TeX Live is enough widespread by now), but if anyone wants to have the module included, somebody else but me needs to write to the gnuplot mailing list and ask the developers if they are willing to include the patch. (By pointing them to https://github.com/mojca/gnuplot/blob/master/term/context.trm first.) I'm willing to upload the patch, but it makes no sense for me to regularly upload new patches to their feature-requests-and-bug-tracking system if they ignore them for ages ... I admit that the number of ConTeXt/Gnuplot users might be small, alone for the fact that the number of ConTeXt users (several thousand?) is much smaller than the number of LaTeX addicts, but I would be glad to see 20 users of metafont terminal when not even the output of metapost terminal is satisfactory (it could be improved considerably). Apart from that ... I was working with Peter Hedwig on the ConTeXt part of his lua/TikZ terminal (that has already been included in gnuplot). We got it running, with some issues like general font loading scheme, but the work was never polished to the end (stalled at some point). We could revive that thread as well.
Github is currently down and
It works here, but the main gnuplot code is located on fontforge (in CVS). Github only includes a patched version of gnuplot that contains context support. Mojca
therefore cannot check if the code is included. But judging from
gnuplot> help terminal […] Subtopics available for terminal: canvas cgm corel dpu414 dumb dxf eepic emf emtex epslatex epson_180dpi epson_60dpi epson_lx800 fig gif gpic hp2623a hp2648 hp500c hpdj hpgl hpljii hppj imagen jpeg latex mf mif mp nec_cp6 okidata pbm pcl5 pdfcairo png pngcairo pop postscript pslatex pstex pstricks push qms regis starc svg tandy_60dpi tek40xx tek410x texdraw tgif tkcanvas tpic vttek wxt x11 xlib xterm
$ gnuplot --version gnuplot 4.4 patchlevel 0
it appears it is still required. Did some send this patch already upstream for inclusion?
Thanks,
Paul