>>Date: Tue, 6 Jun 2000 19:56:33 +0300 (IDT)
>>From: Baruch Even <[EMAIL PROTECTED]>
>>To: LyXnichians <[EMAIL PROTECTED]>
>>Subject: Graphics/Figures in LyX, Call for Features
>>
>>Hello,
>>
>>I'd like to solicit requests and ideas regarding the "insert Figure"
>>option that is present in LyX, as there is a need to reimplement it, I
>>thought it would be a good idea if peoples on the list would send me the
>>list of their needs and wants so I can collect and include them in my
>>work.
>>
>>Current ideas that I read about (and need myself) is the auto-generation
>>of EPS files from other formats (gif, fig, jpeg, tiff are the basic ones I
>>guess, and the easiest to implement).

I think that basically you should not put in the LyX file specific code
about figure format, unless it is used to hide the powerfulness of
the graphicx package.

In that line a minimal solution would be to
 - import the name of graphic files without extension
 - introduce a « View pdf » item in the file menu which gives direct choice
 on the latex/pdflatex compilation (« Update pdf » is useful also,
 but does not seem to work very well with acrobat reader). The action behind
 would be to run pdflatex on a modified version of the source file with
 class option pdftex automatically added.
 
Then leave to a batch conversion process the image conversion task, e.g.
IM mogrify if you want in place conversion. teTeX provides the epstopdf
filter useful to go from latex to pdflatex, needs to be encapsulated
in a script to automate the conversion on a set of files.

A more complicated implementation would be to give control to conversion
programs from the LyX interface as you mentioned hereunder.

>>
>>Regarding that I have a question, would you require the conversion to be a
>>part of LyX, or maybe using external programs will be ok, ImageMagick for
>>example is freely available and can convert almost anything to EPS, would
>>requiring ImageMagick (or other suitable tools) for this feature be too
>>much?

-- 
Jean-Pierre

Reply via email to