On Tue, 24 Feb 2009, Allin Cottrell wrote:
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.
If the problem is confined to unix-like systems, one could assume that
ghostscript is installed and use the following hack:
<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(a)univpm.it
http://www.econ.univpm.it/lucchetti