Lars Gullik Bjønnes wrote:

> | 3. Would people like a Preview of such Input?
> 
> sure.

Oh my god! It works! See attached!

The InsetInclude::PreviewImpl and InsetFormula::PreviewImpl are very 
similar so I'll try and factor the common code into a base class.


Questions:
1. Does it make sense to preview anything other than Input?

2. clearly not everything can or should be previewed, so I'll add a
        bool preview;
parameter to InsetInclude::Params that defaults to false. We'll need a 
button on the Include dialog to set it, so I refer you to q.1 again.

3. Things work only if I specify an absolute path name. Any ideas about 
what I should be doing to tell LaTeX where to find the included file?

Angus


Attachment: previewed_input.png
Description: PNG image

Reply via email to