On 11/12/2014 09:01 PM, Enrico Forestieri wrote:
On Wed, Nov 12, 2014 at 02:18:59PM +0200, Itai Shaked wrote:
(Note: This is a repost from lyx-users, hoping this list will be more
helpful)
Hello,
I'm having a problem with math previews in lyx 2.1.2 - in certain documents
(possibly all documents set to be compiled with xelatex) there is no
preview for math.
When running from terminal I get the error in the subject:
Warning: xelatex had problems compiling lyxpreviews?????.tex
repeating a few times for various files. Locating those files in
"/tmp/lyx_tmpdir..." I can see there is a valid PDF for each, and running
xelatex manually on them works without any error.
Note also that on the same machine lyx 2.1.0 does not have the same
problem, and the same documents have previews.
What could be the problem, and how do I solve it?
This is due to http://www.lyx.org/trac/changeset/64e0c558/lyxgit
I don't think that was a good idea, because the document preamble
is also used for producing the previews and, even if latex has
some problem, it may be something unrelated to math and the correct
result may still be produced (which I think is the case here).
I can't now recall why I did that. I think it was because there are
other cases
where compilation would fail, but LyX would think it succeeded and so would
not report an error.
Richard