]> git.lyx.org Git - lyx.git/commit
Try hard to obtain an instant preview.
authorEnrico Forestieri <forenr@lyx.org>
Mon, 27 Apr 2015 15:22:25 +0000 (17:22 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 27 Apr 2015 15:28:39 +0000 (17:28 +0200)
commit691fdea346eb5643bff3f84017629d966a90af05
tree69158295e031fc5aff6c1a3c785c6b72971ccee6
parent88de06cc416bd1fadf81d78b6d531190b152f4d2
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.
lib/scripts/lyxpreview2bitmap.py