On 21 Feb 2003, Paco Cruz wrote: > Hello all > > I have a document with a myriad of acronyms (3 or 4 letters) in it. > There is not a clear pattern on those acronyms to do a search & replace > on them. > > Well, I need to build a macro (or something :-) ) to do the following: > > I mark the acronym in the document (i.e. EFDO), run the macro > (preferably via a key binding) and the acronym is put in ERT as follow > \lsc{EFDO} > Have a look here, I think it should do what you want:
http://ev-en.org/wiki/moin.cgi/LyxCommandSequences /Christian PS. Does anyone know of an LFUN for marking the word that the cursor is either inside, or just next to? DS -- Christian Ridderström http://www.md.kth.se/~chr