Re: Search Replace in Math Mode

2014-08-27 Thread Tommaso Cucinotta
On 22/08/14 09:05, Jim Oldfield wrote: If you know in advance that a notation could potentially change, you could use LyX's math macro facility. It's very nice and lets you have multiple parameters which you enter in a visual way. You can even display one thing in LyX and output a different

Re: Search & Replace in Math Mode

2014-08-27 Thread Tommaso Cucinotta
On 22/08/14 09:05, Jim Oldfield wrote: > If you know in advance that a notation could potentially change, you could > use LyX's math macro facility. It's very nice and lets you have multiple > parameters which you enter in a visual way. You can even display one thing in > LyX and output a

Re: Search Replace in Math Mode

2014-08-22 Thread Tommaso Cucinotta
On 21/08/14 22:45, Jacob Shapiro wrote: It would be nice to have a search replace within math mode. It could work document wide or only in currently focused math-box. It would allow you to search and replace via latex commands, for instance, search ^{2} and replace with _{2}. Maybe

RE: Search Replace in Math Mode

2014-08-22 Thread Jim Oldfield
-Original Message- From: lyx-devel@lists.lyx.org [mailto:lyx-devel@lists.lyx.org] On Behalf Of Jacob Shapiro Sent: 21 August 2014 10:45 PM To: lyx-devel@lists.lyx.org Subject: Search Replace in Math Mode It would allow you to search and replace via latex commands, for instance, search

Re: Search & Replace in Math Mode

2014-08-22 Thread Tommaso Cucinotta
On 21/08/14 22:45, Jacob Shapiro wrote: > It would be nice to have a search & replace within math mode. > It could work document wide or only in currently focused math-box. > > It would allow you to search and replace via latex commands, > for instance, search ^{2} a

RE: Search & Replace in Math Mode

2014-08-22 Thread Jim Oldfield
-Original Message- From: lyx-devel@lists.lyx.org [mailto:lyx-devel@lists.lyx.org] On Behalf Of Jacob Shapiro Sent: 21 August 2014 10:45 PM To: lyx-devel@lists.lyx.org Subject: Search & Replace in Math Mode > It would allow you to search and replace via latex commands, for instance,

Search Replace in Math Mode

2014-08-21 Thread Jacob Shapiro
It would be nice to have a search replace within math mode. It could work document wide or only in currently focused math-box. It would allow you to search and replace via latex commands, for instance, search ^{2} and replace with _{2}. Maybe the search box itself could have a math-editor

Re: Search Replace in Math Mode

2014-08-21 Thread Scott Kostyshak
On Thu, Aug 21, 2014 at 5:45 PM, Jacob Shapiro j...@yashi.org wrote: It would be nice to have a search replace within math mode. It could work document wide or only in currently focused math-box. LyX has this. It's called Advanced Find. You can access it through the edit menu or with ctrl

Re: Search Replace in Math Mode

2014-08-21 Thread Jacob Shapiro
Thanks for your reponse. Interestingly, it seems to already sift through math-code, but the escaping code is somewhat messy. For example, if you try to replace \hbar with 'word' it will work, but if you try to replace 'word' with \hbar it will place \\hbar. I bet _that_ cannot be too hard

Re: Search Replace in Math Mode

2014-08-21 Thread Richard Heck
On 08/21/2014 07:48 PM, Jacob Shapiro wrote: Thanks for your reponse. Interestingly, it seems to already sift through math-code, but the escaping code is somewhat messy. For example, if you try to replace \hbar with 'word' it will work, but if you try to replace 'word' with \hbar it will

Search & Replace in Math Mode

2014-08-21 Thread Jacob Shapiro
It would be nice to have a search & replace within math mode. It could work document wide or only in currently focused math-box. It would allow you to search and replace via latex commands, for instance, search ^{2} and replace with _{2}. Maybe the search box itself could have a math-ed

Re: Search & Replace in Math Mode

2014-08-21 Thread Scott Kostyshak
On Thu, Aug 21, 2014 at 5:45 PM, Jacob Shapiro <j...@yashi.org> wrote: > It would be nice to have a search & replace within math mode. > It could work document wide or only in currently focused math-box. LyX has this. It's called "Advanced Find". You can acces

Re: Search & Replace in Math Mode

2014-08-21 Thread Jacob Shapiro
Thanks for your reponse. Interestingly, it seems to already sift through math-code, but the escaping code is somewhat messy. For example, if you try to replace \hbar with 'word' it will work, but if you try to replace 'word' with \hbar it will place \\hbar. I bet _that_ cannot be too hard

Re: Search & Replace in Math Mode

2014-08-21 Thread Richard Heck
On 08/21/2014 07:48 PM, Jacob Shapiro wrote: Thanks for your reponse. Interestingly, it seems to already sift through math-code, but the escaping code is somewhat messy. For example, if you try to replace \hbar with 'word' it will work, but if you try to replace 'word' with \hbar it will

Feature request: Search Replace in Math Expressions (or, at least, in View Source)

2010-05-13 Thread Jacob Barandes
Hi, I'm a long-time LyX user (and huge fan), and I often work with very large files with lots of mathematical expressions. It would be hugely useful if LyX had a search-and-replace feature that looked not just through text, but also through mathematical expressions. (Or, at the very least, if the

Re: Feature request: Search Replace in Math Expressions (or, at least, in View Source)

2010-05-13 Thread RIchard Heck
On 05/13/2010 11:14 AM, Jacob Barandes wrote: Hi, I'm a long-time LyX user (and huge fan), and I often work with very large files with lots of mathematical expressions. It would be hugely useful if LyX had a search-and-replace feature that looked not just through text, but also through

Re: Feature request: Search Replace in Math Expressions (or, at least, in View Source)

2010-05-13 Thread John McCabe-Dansted
On Thu, May 13, 2010 at 11:14 PM, Jacob Barandes jacob.baran...@gmail.com wrote: I'm a long-time LyX user (and huge fan), and I often work with very large files with lots of mathematical expressions. It would be hugely useful if LyX had a search-and-replace feature that looked not just through

Feature request: Search & Replace in Math Expressions (or, at least, in View Source)

2010-05-13 Thread Jacob Barandes
Hi, I'm a long-time LyX user (and huge fan), and I often work with very large files with lots of mathematical expressions. It would be hugely useful if LyX had a search-and-replace feature that looked not just through text, but also through mathematical expressions. (Or, at the very least, if the

Re: Feature request: Search & Replace in Math Expressions (or, at least, in View Source)

2010-05-13 Thread RIchard Heck
On 05/13/2010 11:14 AM, Jacob Barandes wrote: Hi, I'm a long-time LyX user (and huge fan), and I often work with very large files with lots of mathematical expressions. It would be hugely useful if LyX had a search-and-replace feature that looked not just through text, but also through

Re: Feature request: Search & Replace in Math Expressions (or, at least, in View Source)

2010-05-13 Thread John McCabe-Dansted
On Thu, May 13, 2010 at 11:14 PM, Jacob Barandes wrote: > I'm a long-time LyX user (and huge fan), and I often work with very large > files with lots of mathematical expressions. It would be hugely useful if > LyX had a search-and-replace feature that looked not just

Re: search/replace for math?

2003-10-11 Thread Nirmal Govind
Andre Poenitz wrote: You can do the sr on the .lyx as well. Should be better, as re-import from .tex is likely to fail. Yes, that works well... I know. But I don't have the time. That's completely understandable... Thanks, nirmal

Re: search/replace for math?

2003-10-11 Thread Nirmal Govind
Andre Poenitz wrote: You can do the s on the .lyx as well. Should be better, as re-import from .tex is likely to fail. Yes, that works well... I know. But I don't have the time. That's completely understandable... Thanks, nirmal

search/replace for math?

2003-10-10 Thread Nirmal Govind
Hi.. is there any plan for a search/replace for math stuff within LyX? For example, if I need to change all the L_{abc} to L_{A} then I could maybe do this with a search/replace feature that looks at math characters and replaces all such occurences.. I guess I could also convert to Latex

Re: search/replace for math?

2003-10-10 Thread Andre Poenitz
On Fri, Oct 10, 2003 at 04:56:09AM -0400, Nirmal Govind wrote: Hi.. is there any plan for a search/replace for math stuff within LyX? For example, if I need to change all the L_{abc} to L_{A} then I could maybe do this with a search/replace feature that looks at math characters and replaces

search/replace for math?

2003-10-10 Thread Nirmal Govind
Hi.. is there any plan for a search/replace for math stuff within LyX? For example, if I need to change all the L_{abc} to L_{A} then I could maybe do this with a search/replace feature that looks at math characters and replaces all such occurences.. I guess I could also convert to Latex

Re: search/replace for math?

2003-10-10 Thread Andre Poenitz
On Fri, Oct 10, 2003 at 04:56:09AM -0400, Nirmal Govind wrote: > Hi.. is there any plan for a search/replace for math stuff within LyX? > For example, if I need to change all the L_{abc} to L_{A} then I could > maybe do this with a search/replace feature that looks at math >