Re: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-28 Thread Julien Rioux
On 28/11/2010 2:55 PM, veno...@arcadiaclub.com wrote: In beta1 it doesn't work, don't know why, in trunk works fine. The difference with dvipng is that is not trimmed on the left side (opposite to numbers), this make it occupy more space but it's more similar to the final result, see the attachme

RE: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-28 Thread venom00
@Julien: > 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. Dvipng writes warning on the stderr if something goes wrong to say it's not able to render certain PS

Re: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-28 Thread Pavel Sanda
Georg Baum wrote: > I agree that TikZ and PSTricks are important, but I don't think that using a > setting in LyX or in documents is a good idea. 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

Re: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-28 Thread Pavel Sanda
veno...@arcadiaclub.com wrote: >There's nothing that the legacy method can't render AFAIK. on what foundations is build this statement? (this is without any flaming intentions, i would like to know myself). pavel

Re: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-28 Thread Julien Rioux
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 t

RE: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-28 Thread venom00
> 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 legac

RE: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-28 Thread Georg Baum
veno...@arcadiaclub.com wrote: > I think we should drop dvipng, or at least allow to set whether to use > dvipng or the legacy method in a LyX-wide manner, even if I think that > leaving it as an option for each document is the best idea. I think this > defect should be fixed, instant-preview is a

Re: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-27 Thread Enrico Forestieri
On Sat, Nov 27, 2010 at 11:18:56PM +0100, veno...@arcadiaclub.com wrote: > BTW: could someone apply the part of the patch about lyxpreview-tools.py? I fixed that problem in a more general way at r36545. BTW, this was a regression introduced at r33554. BTW2, currently LyX asserts whenever the cur

RE: [Poll] Patch for rendering PSTricks and TikZ in instant-preview(#7042)

2010-11-27 Thread venom00
Well, in this thread several different point of views appeared. I've put a up a pool to get a decision together quickly. http://micropoll.com/t/KEkx4ZBgk0 I think we should drop dvipng, or at least allow to set whether to use dvipng or the legacy method in a LyX-wide manner, even if I think that