Perhaps the subject of this thread should be: "External Copy then Paste with
math content"
The idea would be for generating a string like:
"The result is $\beta=2$"
in some external program would when copied and pasted into LyX would
automatically know to format the LaTeX part as math content?
Paul Rubin msu.edu> writes:
>
> I can't answer the context-aware pasting question, but I'll point out that if
> you paste the math content in as ordinary text, you can highlight it and hit
> ctrl-M to turn it into a math inset. (This works anywhere in the document,
> and
> in both directions -
Hi. When I wish to copy results from Matlab into a LyX document I
generate a tab-delimited string and then paste it into a LyX table.
For example,in Matlab I might have a cell of results like:
test = {'A' 'dog' 200; 'B' 'cat' 99.3}
which looks like
test =
'A' 'dog' [200]
'B' 'cat'
I can't answer the context-aware pasting question, but I'll point out that if
you paste the math content in as ordinary text, you can highlight it and hit
ctrl-M to turn it into a math inset. (This works anywhere in the document, and
in both directions -- you can also turn a math inset into plain
I am guessing one reason why LyX is able to copy and paste cells or tables while
retaining the distinction between text and math cells or math within a cell has
to do with clipboard locales.
My understanding is that the clipboard might retain the copied content in
different formats.
http://msdn.mi