vsharma wrote:

> I use ver1.3.0 Lyx support ver 1.7 on cygwin with windows XP Professional
> I am new to this program so excuse any silly questions

You're excused ;-)

> I cannot load .png images to display in lyx window

Are you using the Qt or the xforms frontend? The Qt frontend should be able 
to display PNG files natively. The xforms frontend has to convert them to a 
format that it can load.

Look in the Edit->Preferences dialog. 

In the Qt frontend you'' find sections 'File formats' and 'Converters' in 
the tree on the LHS. In the xforms frontend there is a tab 'Conversion' 
which itself has tabs 'Formats' and 'Converters'.

1. You should have a format PNG. If not define it.
2. If using the xforms frontend, you should define a converter from PNG to 
PPM format. You don't need ImageMagick's convert for this (personally I 
find it really slow anyway). I suggest using pngtopnm which is part of the 
netpbm suite of utilities.

> it informs me that there is error converting to loadable format trying 
> to invoke view dvi gives message no information for converting from 
> png to eps but using view pdflatex works fine.

pdflatex can use PNG files.
latex requires EPS ones.

Again, you need to define a converter from PNG to EPS. You could certainly 
use ImageMagick's convert for this. Alternatively you could define a pipe 
of pngtopnm | pnmtops | ps2eps. This sounds ridiculous, but may well be 
faster than 'convert' ;-)

> Q1.  what can i do to rectify this?
> Q2.eps files are huge for my sort of graphics , what would anyone suggest
> as eps 2 high resolution png in this forum for use with lyx?

ImageMagick's 'convert' allows you to generate Adobe Level III Encapsulated 
PostScript which is just a wrapper for the native bitmap format (as I 
understand it).

        convert yourfile.PNG EPS3:yourfile.eps

> Q3.with the new windows version where the imagemagick has been removed do
> I need to install the windows version of imagemagick?

> Q4. can one insert .cgm files, at present i am just inserting them in
> powerpoint and printing to acrodist to get eps for use in lyx

>From the command line, run
        $ lyx --dbg graphics
to see what file formats your version of LyX (Qt or xforms) can load 
natively. Thereafter you'll have to define a converter from CGM to one of 
these formats to see the file inside LyX. Ditto, if you can define a 
converter CGM to EPS, then you'll be able to generate docs with no extra 
explicit step.

HTH,
-- 
Angus

Reply via email to