RE: Editing equations as latex rather than graphically.

2010-02-04 Thread Helge Hafting
-Original Message- From: Tim Hutt [mailto:tdh...@gmail.com] Sent: Mon 2/1/2010 7:54 PM To: lyx-users@lists.lyx.org Subject: Editing equations as latex rather than graphically. >Hi, I've searched but I can't find an answer: Is it possible to edit >the source latex code of equations rath

Re: Editing equations as latex rather than graphically.

2010-02-02 Thread Guenter Milde
On 2010-02-02, Vincent van Ravesteijn - TNW wrote: >>This way, you can convert an equation to the source text > If you select the math contents and paste it in text, you'll see the > LaTeX code. This used to work with the mouse only in former versions, but it's fixed now to work also via keybind

RE: Editing equations as latex rather than graphically.

2010-02-02 Thread Vincent van Ravesteijn - TNW
>This way, you can convert an equation to the source text >(which might be desirable for copying as well). > >The other way round is already implemented: Mark a valid >math expression (like \sin(x)) and press Ctrl-M. > If you select the math contents and paste it in text, you'll see the LaTeX code

Re: Editing equations as latex rather than graphically.

2010-02-02 Thread Guenter Milde
On 2010-02-01, rgheck wrote: > On 02/01/2010 02:29 PM, Tim Hutt wrote: >> On 1 February 2010 19:22, rgheck wrote: > ... 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

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread Vincent
The difference w.r.t. an ERT block is that you can see the formatted result on the screen (but editing through an external editor is not as comfortable as a collapsable inset). Remember I have the InsetPreview in my back pocket :) I didn't follow the thread further, so I don't know what the

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread rgheck
On 02/01/2010 05:42 PM, Tommaso Cucinotta wrote: rgheck wrote: One question: isn't it possible to handle this case like the other external-material objects ? I mean, imagine you define another kind of external-material object, the "External Equation" type (e.g., a '*.eq' file), imagine you a

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread Tommaso Cucinotta
rgheck wrote: One question: isn't it possible to handle this case like the other external-material objects ? I mean, imagine you define another kind of external-material object, the "External Equation" type (e.g., a '*.eq' file), imagine you associate a text editor to such a type, and imagine

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread rgheck
On 02/01/2010 03:44 PM, Tommaso Cucinotta wrote: rgheck wrote: 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.

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread Tommaso Cucinotta
rgheck wrote: 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,

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread James C. Sutherland
On Feb 1, 2010, at 12:29 PM, Tim Hutt wrote: > On 1 February 2010 19:22, rgheck 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

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread rgheck
On 02/01/2010 02:29 PM, Tim Hutt wrote: On 1 February 2010 19:22, rgheck 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

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread Tim Hutt
On 1 February 2010 19:22, rgheck 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

Re: Editing equations as latex rather than graphically.

2010-02-01 Thread rgheck
On 02/01/2010 01:54 PM, Tim Hutt wrote: Hi, I've searched but I can't find an answer: Is it possible to edit the source latex code of equations rather than edit the equations in a graphical way? I much prefer this method for equations and in my mind it is one of the things that makes latex superi