On Wed, Apr 25, 2001 at 12:52:08PM +0200, Andre Poenitz wrote:
>
> This patch contains the implementation of the new 'math-extern' LyX
> function.
So where is the patch ?
I did try your previous patch, and I got the following error:
bad option "map": must be compare, first, index, last, length, match, range, tolower,
toupper, trim, trimleft, trimright, wordend, or wordstart
while executing
"string map { \{ \[ \} \] } $str"
(procedure "maplize" line 3)
invoked from within
"maplize $lyxish"
(I have tcl 8.0).
> If you invoke 'math-extern something' (preferably by some keybinding)
> in a math inset, the inset will translate its contents into some
> "normalized" form, invoke 'lyx2something <normalform> <outfilename>',
> and replaces its contents with LaTeX read back from the file <outfilename>.
Can you keep the old contents of the inset and put an equal sign between the
old contents and the result of the script ?