I favour the newly implemented solution:
"Gnuplot does not support PDF output on this system"
I am not sure whether one can really assume that ghostscript is part of a basic unix installation -- I just do not know.
Artur
On Tue, 24 Feb 2009, Allin Cottrell wrote:If the problem is confined to unix-like systems, one could assume that ghostscript is installed and use the following hack:
Ah, I had forgotten that gnuplot might not support PDF output.
But in fact we already have a check for that (a one-time runtime
check, which is not elegant but, I think, better than disabling
PDF). So I've now connected that check to the new functionality:
one should get an informative error message on trying to generate
PDF when gnuplot can't do it.
<gnuplot_script>
set terminal postscript
set output "| ps2pdf - > foo.pdf"
plot sin(x)
</gnuplot_script>
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti@univpm.it
http://www.econ.univpm.it/lucchetti
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users