On 28/11/2010 10:13 AM, veno...@arcadiaclub.com wrote:
The user should not need to
know these details of the preview generation. Instead, the preview machinery
of LyX should be smart enough to use the right method automatically.

Georg, trying first in a way and then in the other seems useless to me, just a
delay. There's nothing that the legacy method can't render AFAIK. However, by
the test I've done with a small app I wrote, dvipng is quite faster in effect,
legacy requires from 15% to 75% more time, using LyX I didn't noticed it.
Detecting packages unsupported by dvipng is not that simple, probably there are
a lot of packages with this problem, moreover you can't just check just for
PSTricks, but also all the pst-* packages, which include PSTricks. I'll try to
ask on the preview-latex group to ask them if there's a way to quickly determine
if dvipng will be able to render correctly the tex input or not.

Also, dvipng won't necessarily fail, it's just that the rendered output is not what you would expect. So having two methods with the legacy method as fallback is not satisfactory.

Ale, when using the legacy method, did you not have any problems with numbered equations?

Cheers,
Julien

Reply via email to