Bo Peng wrote:

When you export latex, lyx assume you want to run "latex" on
the generated .tex file sometime later.  ... ...  there
is no latex export that assumes you will want to run pdflatex later.

I understand the logic here but doing image format conversions during
latex export is a bit strange to me. Also, I think 'do not overwrite'
"Export latex" is supposed to export something that is ready
for a latex run.  I.e. you should be able to run "latex file.tex"
and it should work.  But it won't work with pdf figures,
so a conversion is necessary unless:
* You have the .eps files, but in this case they likely
   have an older timestamp, fooling lyx into thinking that
   the pdf "originals" have been updated
*  You don't plan on running "latex".  But this function is
   for latex.  It'd be nice having an "export pdflatex" that
   makes a pdflatex-ready file instead.  Such an export would
   accept your pdf figures as-is.

should be the default behavior here since existing files should have
better quality than converted files. In my case, the .pdf files are
converted from .eps files.

The problem is clear.  I don't think the solution is to change the
latex export though, but to give the user the "export pdflatex"
option.  Which exists internally anyway - it is used as a first step
whenever you do "export  pdf (pdflatex)".

Helge Hafting

Reply via email to