On Tue, 14 Oct 2003 08:58:26 +0000
Angus Leeming <[EMAIL PROTECTED]> wrote:

> John Coppens wrote:
> 
> > Hi all...
> > 
> > After some guesswork and a huge amount of luck, I found that the
> > font problem could be solved inverting the font dirs in
> > /usr/X11/lib/X11/XftConfig... Go figure...
> > 
> > But then a very original one: One of the PNGs I included was
> > correctly read/saved by Gimp, but refused to be converted to PDF
> > (latex). I've saved this PNG if someone is interested. I rotated the
> > image, saved it again, and all was well.
> 
> What route are you taking to generate the pdf? Are you going
> * lyx->latex-(latex)->dvi-(dvips)->ps-(ps2pdf)->pdf
> which requires that the png image is converted to eps format, or are
> you using the route
> * lyx->latex-(pdflatex)->pdf
> which can use the png file as-is?

The second form I suppose, directly clicking on the View PDF(Latex)
option.

> 
> If you are converting the image to eps format, what are you using to 
> perform the conversion? I expect that you are using the default set 
> of converters? Specifically, that you use ImageMagick's 'convert' 
> program to transform png->eps.

I'm a very inexpert user, so I didn't  change anything in LyX's setup. 
There was no converter defined at all for png->eps, so I added one now.
Does LyX use another converter by default? I didn't worry before because
everything seemed to work.

> Does this work from the command line
> $ convert your_file.png EPS:your_file.eps

It does.

I just made a lyx doc with just the one PNG in it... It works (before
defining the converter). So it may have been something with the previous
image, which I don't have anymore. I'll do some more tests.

Thanks,

John

Reply via email to