>>To: Luiz Eleno <[EMAIL PROTECTED]>
>>Cc: [EMAIL PROTECTED]
>>Subject: Re: Gnuplot External Material
>>From: Dave Tweten <[EMAIL PROTECTED]>
>>Date: Tue, 16 Dec 2003 19:36:46 -0800
[snip]
>>
>>3. Encapsulated PostScript may not be enough. One of LyX's PDF output
>> generators (pdflatex, I think) requires *.pdf graphics files. If
>> we export to HTML, I'm told all graphics files should be converted
>> to *.png format.
>>
>> I don't think LyX can automatically generate *.pdf and *.png files
>> yet, like it does *.eps and *.txt files for External Material, but
>> it has to be going in that direction, and its documentation file
>> makes it clear dgplot isn't.
LyX can if you add tex2pdf as alternate solution to provide pdf output.
To make it short, tex2pdf
- creates temporary latex files where files names in \includegraphics
are normalized for compilation with latex or pdflatex
(in fact, no suffix);
- creates foo.pdf files for each graphic file foo.eps if
* foo.png and foo.jpg do not exist (this avoid backconversion
of foo.eps if it was obtained by converting from a bitmap)
* foo.eps time stamp is more recent than foo.pdf time stamp
if foo.pdf exists
- inserts the hyperref parameters to provide hypertexted pdf under
config file or command line args control
- provides all pdflatex runs needed to get the pdf, including
makeindex and such external programs.
- destroys the temp files.
So defining a converter format pdf2 (or 3, or..)
PDF (tex2pdf)
and a converter command
LaTeX -> PDF (tex2pdf) associated to tex2pdf $$i
make the conversion available in View, Update and Export.
http://developer.berlios.de/projects/tex2pdf/
--
Jean-Pierre