Re: help to build a macro or substitution

2003-02-24 Thread Jean-Marc Lasgouttes
 Christian == Christian Ridderström [EMAIL PROTECTED] writes:

Christian PS. Does anyone know of an LFUN for marking the word that
Christian the cursor is either inside, or just next to? DS

Maybe word-select?

JMarc




Re: help to build a macro or substitution

2003-02-24 Thread Christian Ridderström
On 24 Feb 2003, Jean-Marc Lasgouttes wrote:

  Christian == Christian Ridderström [EMAIL PROTECTED] writes:
 Christian PS. Does anyone know of an LFUN for marking the word that
 Christian the cursor is either inside, or just next to? DS
 
 Maybe word-select?
 
word-select works beatifully. I put some examples of command sequences here:

http://ev-en.org/wiki/moin.cgi/LyxCommandSequences

and I'd actually found 'word-select' by looking at the available LFUNS here:

http://ev-en.org/wiki/moin.cgi/LyxDevelLFUNs#line17

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: help to build a macro or substitution

2003-02-24 Thread Jean-Marc Lasgouttes
 Christian == Christian Ridderström [EMAIL PROTECTED] writes:

Christian PS. Does anyone know of an LFUN for marking the word that
Christian the cursor is either inside, or just next to? DS

Maybe word-select?

JMarc




Re: help to build a macro or substitution

2003-02-24 Thread Christian Ridderström
On 24 Feb 2003, Jean-Marc Lasgouttes wrote:

  Christian == Christian Ridderström [EMAIL PROTECTED] writes:
 Christian PS. Does anyone know of an LFUN for marking the word that
 Christian the cursor is either inside, or just next to? DS
 
 Maybe word-select?
 
word-select works beatifully. I put some examples of command sequences here:

http://ev-en.org/wiki/moin.cgi/LyxCommandSequences

and I'd actually found 'word-select' by looking at the available LFUNS here:

http://ev-en.org/wiki/moin.cgi/LyxDevelLFUNs#line17

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: help to build a macro or substitution

2003-02-24 Thread Jean-Marc Lasgouttes
> "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:

Christian> PS. Does anyone know of an LFUN for marking the word that
Christian> the cursor is either inside, or just next to? DS

Maybe word-select?

JMarc




Re: help to build a macro or substitution

2003-02-24 Thread Christian Ridderström
On 24 Feb 2003, Jean-Marc Lasgouttes wrote:

> > "Christian" == Christian Ridderström <[EMAIL PROTECTED]> writes:
> Christian> PS. Does anyone know of an LFUN for marking the word that
> Christian> the cursor is either inside, or just next to? DS
> 
> Maybe word-select?
> 
word-select works beatifully. I put some examples of command sequences here:

http://ev-en.org/wiki/moin.cgi/LyxCommandSequences

and I'd actually found 'word-select' by looking at the available LFUNS here:

http://ev-en.org/wiki/moin.cgi/LyxDevelLFUNs#line17

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: help to build a macro or substitution

2003-02-22 Thread Paco Cruz
On Sat, 2003-02-22 at 00:30, Christian Ridderström wrote:

 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

Hello Christian

Thanks a lot for the solution :-)

Nevertheless I really want to know more on this topic and that LFUN you 
ask about. I understand that it means Lyx/Latex Function. Am I right?

Where could I find more information o command sequences and LFUN? I have
searched the Lyx docs and Google again but with very little success,
only a couple of messages in the devel-list that where like klingon to
me :-)

Thank you again 

Paco





Re: help to build a macro or substitution

2003-02-22 Thread Christian Ridderström
On 22 Feb 2003, Paco Cruz wrote:

 On Sat, 2003-02-22 at 00:30, Christian Ridderström wrote:
 
  Have a look here, I think it should do what you want:
  
   http://ev-en.org/wiki/moin.cgi/LyxCommandSequences
  
 
 Hello Christian
 
 Thanks a lot for the solution :-)
 
 Nevertheless I really want to know more on this topic and that LFUN you 
 ask about. I understand that it means Lyx/Latex Function. Am I right?

Lyx function AFAIK

 Where could I find more information o command sequences and LFUN? I have
 searched the Lyx docs and Google again but with very little success,
 only a couple of messages in the devel-list that where like klingon to
 me :-)

Look to the source... :-)
What little I know about LFUN's is summed up here:

http://ev-en.org/wiki/moin.cgi/LyxDevelLFUNs

but you'll also find links to some of the actual source files that you 
can look at for more details. 

And you can always send questions to [EMAIL PROTECTED] and ask 
specific questions about what a certain lfun actually does (or is supposed 
to do). If you do that and get a good answer, please add it to the LFUN 
page above.

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: help to build a macro or substitution

2003-02-22 Thread Paco Cruz
On Sat, 2003-02-22 at 00:30, Christian Ridderström wrote:

 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

Hello Christian

Thanks a lot for the solution :-)

Nevertheless I really want to know more on this topic and that LFUN you 
ask about. I understand that it means Lyx/Latex Function. Am I right?

Where could I find more information o command sequences and LFUN? I have
searched the Lyx docs and Google again but with very little success,
only a couple of messages in the devel-list that where like klingon to
me :-)

Thank you again 

Paco





Re: help to build a macro or substitution

2003-02-22 Thread Christian Ridderström
On 22 Feb 2003, Paco Cruz wrote:

 On Sat, 2003-02-22 at 00:30, Christian Ridderström wrote:
 
  Have a look here, I think it should do what you want:
  
   http://ev-en.org/wiki/moin.cgi/LyxCommandSequences
  
 
 Hello Christian
 
 Thanks a lot for the solution :-)
 
 Nevertheless I really want to know more on this topic and that LFUN you 
 ask about. I understand that it means Lyx/Latex Function. Am I right?

Lyx function AFAIK

 Where could I find more information o command sequences and LFUN? I have
 searched the Lyx docs and Google again but with very little success,
 only a couple of messages in the devel-list that where like klingon to
 me :-)

Look to the source... :-)
What little I know about LFUN's is summed up here:

http://ev-en.org/wiki/moin.cgi/LyxDevelLFUNs

but you'll also find links to some of the actual source files that you 
can look at for more details. 

And you can always send questions to [EMAIL PROTECTED] and ask 
specific questions about what a certain lfun actually does (or is supposed 
to do). If you do that and get a good answer, please add it to the LFUN 
page above.

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: help to build a macro or substitution

2003-02-22 Thread Paco Cruz
On Sat, 2003-02-22 at 00:30, Christian Ridderström wrote:

> 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

Hello Christian

Thanks a lot for the solution :-)

Nevertheless I really want to know more on this topic and that LFUN you 
ask about. I understand that it means "Lyx/Latex Function". Am I right?

Where could I find more information o command sequences and LFUN? I have
searched the Lyx docs and Google again but with very little success,
only a couple of messages in the devel-list that where like klingon to
me :-)

Thank you again 

Paco





Re: help to build a macro or substitution

2003-02-22 Thread Christian Ridderström
On 22 Feb 2003, Paco Cruz wrote:

> On Sat, 2003-02-22 at 00:30, Christian Ridderström wrote:
> 
> > Have a look here, I think it should do what you want:
> > 
> >  http://ev-en.org/wiki/moin.cgi/LyxCommandSequences
> > 
> 
> Hello Christian
> 
> Thanks a lot for the solution :-)
> 
> Nevertheless I really want to know more on this topic and that LFUN you 
> ask about. I understand that it means "Lyx/Latex Function". Am I right?

Lyx function AFAIK

> Where could I find more information o command sequences and LFUN? I have
> searched the Lyx docs and Google again but with very little success,
> only a couple of messages in the devel-list that where like klingon to
> me :-)

Look to the source... :-)
What little I know about LFUN's is summed up here:

http://ev-en.org/wiki/moin.cgi/LyxDevelLFUNs

but you'll also find links to some of the actual source files that you 
can look at for more details. 

And you can always send questions to [EMAIL PROTECTED] and ask 
specific questions about what a certain lfun actually does (or is supposed 
to do). If you do that and get a good answer, please add it to the LFUN 
page above.

/Christian

-- 
Christian Ridderström, +46-8-790 91 37   http://www.md.kth.se/~chr
Mechatronics lab, Dept. of Machine Designhttp://www.md.kth.se



Re: help to build a macro or substitution

2003-02-21 Thread Christian Ridderström
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




Re: help to build a macro or substitution

2003-02-21 Thread Christian Ridderström
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




Re: help to build a macro or substitution

2003-02-21 Thread Christian Ridderström
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