On 02/01/2010 02:29 PM, Tim Hutt wrote:
On 1 February 2010 19:22, rgheck<rgh...@bobjweil.com>  wrote:
Try View>Source if you want to *see* the LaTeX.
Ah yes, I did that in an equation and it is almost exactly what I want
- just need to be able to edit the text. Without looking at the code,
it doesn't look like you'd have to do much to make it editable. I
might have a go some time.

It's harder than you think, in the general case, because *reading* the LaTeX back is not trivial. In the math case, however, it isn't so hard, and it'd be easier to do it in the editing pane. All you have to do is have a special mode where LyX displays the raw LaTeX, which it knows how to generate. This would be kind of like the "preview" mode, where it displays a little picture. Switching back to "LyX" mode would then read the LaTeX---LyX knows how to do this in the math case---and display the LyX form.

rh

Reply via email to