On Wed, Jul 19, 2006 at 18:16:01 -0400, Mathieu Malaterre wrote:
> Hello
> 
>  I was wondering if anyone manage to get 'set terminal pdf' to work
> on there debian machine. Apparently there is a licensing issue:
> 
> [Bug#248426: set terminal pdf doesn't work]
> http://groups.google.com/group/linux.debian.bugs.dist/browse_frm/thread/b7637b115e19b025/b98c9bc765a0b895?&hl=en#b98c9bc765a0b895
> 
> Is there a way to get pdflite ? I was trying with
> debian-unofficial.org but again I cannot get this library.
> 
> $ sudo apt-get install pdflib-lite
> Reading package lists... Done
> Building dependency tree... Done
> E: Couldn't find package pdflib-lite

AFAIK the package is called "libpdflite5". I have

deb http://ftp.debian-unofficial.org/debian sid main contrib non-free restricted

in my sources.list and I find

$ apt-cache policy libpdflite5
libpdflite5:
  Installed: (none)
  Candidate: 6.0.3-1duo+etch1
  Version table:
     6.0.3-1duo+etch1 0
        500 http://ftp.debian-unofficial.org sid/non-free Packages

I think you will still have to compile gnuplot yourself to enable pdf
terminal support. I was always to lazy for that, so I just use

set terminal postscript eps enhanced color solid rounded
set output "plotname.eps"

and add one line to the end of my gnuplot scripts:

!epstopdf plotname.eps && rm plotname.eps

That will give you nice, compact PDF plots with far less hassle.
(epstopdf is included in the package "tetex-bin")

I can send you a complete example script off-list if you want.

-- 
Regards,
          Florian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to