>>From: "MW Reeks, Interface Analysis Centre (URC)" <[EMAIL PROTECTED]>
>>Date: Thu, 10 Aug 2000 13:38:09 +0100
>>To: [EMAIL PROTECTED]
>>Subject: Inserting Post Script Figures ino Lyx Docs
>>
>>It appears lyx will only accept Post Script Figs. So this means I would 
>>have to convert my non PS file to PS. The way to do this would be to 
>>use a PS Printer and generate a PS file from the original file via 
>>something like Power Point. The problem I am having is that the PS file
>>generated and inserted into the fig does not appear when I do a post
>>script view. I guess this is because the PS is level 3 and maybe lyx 
>>will only accept level 1. Trouble is all the printer drivers supplied 
>>by Windows 98 are all level 3. So what do you recommend I do? 
>>The basic problem is how does lyx deal with non PS files in Figs. 
>>I'd be grateful for you help and advice.

LyX *should* accept other formats than EPS (no PS which may cover more
than one page and thus includes commands forbidden in EPS) 
using pdflatex (recognized formats are PDF, JPG, PNG and possibly GIF): 
this is clearly oriented towards bitmap figure inclusion 
(and you can't include anymore eps files,
you have to convert them to one of the legal formats).

As far as EPS is concerned, and up to my experience, 
it's not a problem of PS level, but a problem
of quality of the drivers.
Have a look at the ps produced, you should
 - get rid of the exotic data before the %!PS- and after the %%EOF
 - convert to EPS (GStools or ghostcript)
 - get rid of the remaining constructs forbidden in EPS (showpage and
 setpagedevice are common candidates).
 
The inclusion of the cleaned EPS should work, you may still have to
fiddle with the BoundingBox.

Note that drivers claiming to produce EPS may still give you files with
exotic characters and forbidden EPS commands...

Good luck

-- 
Jean-Pierre

Reply via email to