Am Montag, 27. April 2015 um 19:00:38, schrieb Enrico Forestieri <for...@lyx.org> > On Mon, Apr 27, 2015 at 06:13:58PM +0200, Kornel Benko wrote: > > > Am Montag, 27. April 2015 um 17:28:37, schrieb Enrico Forestieri > > <for...@lyx.org> > > > commit 691fdea346eb5643bff3f84017629d966a90af05 > > > Author: Enrico Forestieri <for...@lyx.org> > > > Date: Mon Apr 27 17:22:25 2015 +0200 > > > > > > Try hard to obtain an instant preview. > > > > > > When the dvipng route is selected and latex fails, the > > > lyxpreview2bitmap.py > > > script simply bails out. The failure may be due to using a specific > > > pdf > > > only feature in ERT (for example, the inclusion of a pdf image). > > > In this case the procedure may succeed simply trying to use pdflatex > > > and the legacy conversion method. > > > > As we are at it, there is also the possibility of having lua code in > > previews. > > In this case only (dvi)lualatex engine would work. > > > > But we cannot have everything. It is already nice as it is now. > > Why not? We can try in each method in turn until one of them succeeds. > BTW, in master it would only suffice setting the document default output > to dvilualatex, no? I thought that was the gist of your commit. >
No, I really need lualatex, xelatex or pdflatex for pdf included images. dvilualatex and latex don't compile. Kornel
signature.asc
Description: This is a digitally signed message part.