"Martin D. Muggli" <[EMAIL PROTECTED]> writes:

| 2.  The user inserts a text inset of some kind (similar to a
| footnote).  Enters their expression into the inset.  Tells LyX to evaluate
| the inset.  Then LyX adds a paragraph after the inset containg the
| results.

I'd prefere this second solution, with one small change. The
"paragraph" created by MuPAD get inserted _into_ the inset. The inset
can then be placed into the update queue when MuPAD has finished its
work. This should be easy to accomplish with threads.

| Number 2 might be a little bit more along the lines of WYSIWYM because the
| user doesn't have to think about where they want the results in the
| document, they simply appear right after the expression.  I don't know if
| this flexability is good or bad.  When multithreading is introduced, this
| option has the advantage of not taking over the clipboard during
| expresssion evaluation.  Although, I suppose adding a separate clipboard
| buffer explicitly for MuPAD evaluation would be an option too.
| 
| What do you guys think?

This second one looks best, and don't use the clipboard.
(you would have to create a clipboard to be able to have two MuPADs
working at the same time, or a special purpose "clipboard-protocol")

        Lgb

Reply via email to