Richard Heck wrote: > On 01/24/2011 10:40 AM, Enrico Forestieri wrote: > > Having noticed that recently LyX was not able to compile documents with > > postscript images when using pdflatex, I moved away the preferences file > > in the user directory and the problem disappeared. > > > > I traced it down to the fact that I had the following line: > > > > \converter "pdflatex" "pdf2" "pdflatex --synctex=1 $$i" "latex" > > > > whereas the following one seems to be the right syntax nowadays: > > > > \converter "pdflatex" "pdf2" "pdflatex --synctex=1 $$i" "latex=pdflatex" > > > > So, prefs2prefs fails to correctly translate this preference, apparently. > > Jurgen, did you make this change? If so, what is the algorithm for it? I > can easily add it to prefs2prefs if I know that.....
Yes. The change is that we now use backend=flavor for the latex backend. This was introduced in the context of the support different flavors in source preview. The default is LATEX, so "latex" is used for the normal LATEX flavor. For the others, we currently use: latex=pdflatex latex=platex (PLaTeX, the Japanese engine) latex=xelatex (XeTeX) latex=lualatex (LuaTeX) Here is the relevant change: http://www.lyx.org/trac/changeset/36623/ HTH, Jürgen