Re: #1723: Request instant preview for ERT

2009-07-08 Thread Pavel Sanda
Ben M. wrote: > On Tue, Jul 7, 2009 at 4:42 PM, Pavel Sanda wrote: > > i think the real point is that there is no code implementing it. > > Would any "new code" really be involved? except that you need to do this per-inset basis probably no. just go ahead for it ;) pavel

Re: #1723: Request instant preview for ERT

2009-07-08 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > A general remark: I would really prefer such features to be implemented > at InsetText level (or in a new intermediate inset if need be). > Collapsable insets are just insets that are collapsable, and yet they > implement many features that are not relevant (inset lay

Re: #1723: Request instant preview for ERT

2009-07-08 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller writes: > Ben M. wrote: >> Yes, but any extra packages should be specified in the preamble. >> Since there are many ERT for which a preview is possible, shouldn't >> LyX give users the option? > > Yes, I think we should implement a preview option for InsetFlex (or > collapsabl

Re: #1723: Request instant preview for ERT

2009-07-08 Thread Jean-Marc Lasgouttes
"Ben M." writes: > On Tue, Jul 7, 2009 at 4:42 PM, Pavel Sanda wrote: >> i think the real point is that there is no code implementing it. > > Would any "new code" really be involved? I don't know any details > about LyX's implementation of insets, but both math and "Input" child > documents suppo

Re: #1723: Request instant preview for ERT

2009-07-08 Thread Jürgen Spitzmüller
Ben M. wrote: > Yes, but any extra packages should be specified in the preamble. > Since there are many ERT for which a preview is possible, shouldn't > LyX give users the option? Yes, I think we should implement a preview option for InsetFlex (or collapsables in general) that can be enabled on a

Re: #1723: Request instant preview for ERT

2009-07-08 Thread Helge Hafting
Ben M. wrote: On Tue, Jul 7, 2009 at 4:42 PM, Pavel Sanda wrote: i think the real point is that there is no code implementing it. Would any "new code" really be involved? I don't know any details about LyX's implementation of insets, but both math and "Input" child documents support instant p

Re: #1723: Request instant preview for ERT

2009-07-07 Thread Ben M.
On Tue, Jul 7, 2009 at 4:42 PM, Pavel Sanda wrote: > i think the real point is that there is no code implementing it. Would any "new code" really be involved? I don't know any details about LyX's implementation of insets, but both math and "Input" child documents support instant preview. So I mi

Re: #1723: Request instant preview for ERT

2009-07-07 Thread Pavel Sanda
Ben M. wrote: > Both JMarc and Jurgen seem to think this feature could be useful. I'd > like to see some clearer justification, or reopen the ticket. What do > others think? Thanks! i think the real point is that there is no code implementing it. i'm nearly sure that if you come up with working

#1723: Request instant preview for ERT

2009-07-07 Thread Ben M.
Hi all, Five years ago I requested an instant preview option for ERT in: http://www.lyx.org/trac/ticket/1723 Uwe just marked this as wontfix, and I disagree with that decision. Uwe wrote: >>> A general preview for ERT is impossible because there are countless LaTeX >>> packages available. Ye