Jürgen Spitzmüller wrote:
Abdelrazak Younes wrote:
Do you know if there is any way to know from the template if the inset
is going to benefit from instant preview?

Don't think so.

OK.

I would like to avoid putting a checkbox for that.

Why? Even if a given inset can be previewed, some people might want to switch the preview (for a given inset) off.
Only one "Show in LyX" check box should do:
- graphics will be shown as-is or  after conversion to a  showable format
- material that contains LateX snippet will go through the instant preview mechanism.

My point is that the user doesn't need to know if this particular template needs to go through the instant preview mechanism in order to be shown on screen. That's why I asked if there was some way to know that. If not, I think it would be a good idea to add a '\instant_preview' tag.

Not sure I am clear...

Abdel.

Reply via email to