- From: Pablo Angulo <address@hidden>
- To: address@hidden
- Subject: Re: [TeXmacs] refactor
- Date: Wed, 13 Jan 2010 14:47:14 +0100
Sorry for the delay, Alvaro. I wasn't sure I understood, but now I've
made it work.
The trick is I have to call replace within a math formula, and then it
will replace inside every formula, but it doesn't find the expression if
I call it with the cursor in a non-math area.
So thanks, it did help!
Alvaro Tejero Cantero escribió:
>
There's a possibility to use replace inside math, and that is by using
>
"copy to search" for the searched-for expression (eventually with
>
starting/terminating tokens such as a space or a * if your word is a
>
factor, to emulate the full-word search) and "copy to replace" for the
>
expression you want to replace. Then call the replace feature (C-=
>
with emacs bindings) and hit twice return - the values will be fetched
>
from the respective clipboards.
>
>
Hope it helps,
>
>
-á.
>
>
>
>
On Wed, Dec 30, 2009 at 10:43, Pablo Angulo <address@hidden> wrote:
>
>
> Hello:
>
> Is it possible to rename a mathematical object in texmacs? "Replace"
>
> seems restricted to non-math, and it doesn't have the "only full words"
>
> feature which is important for a short variable name.
>
> So, I'd like to know if I can search only within the math
>
> environments, and only for full words. It's a curiosity, I can probably
>
> work the tm file directly with a python script.
>
> Thanks
>
>
>
>
>
>
>
Archive powered by MHonArc 2.6.19.