Re: How to insert a slashed o?

2014-06-10 Thread Jean-Marc Lasgouttes

08/06/2014 23:01, stefano franchi:

Thanks Richard, that's what I did, eventually (cutting and pasting). I
was just hoping  there'd be a function I could bind to a shortcut, but
apparently not.


Try unicode-insert 0x00F8.

JMarc



Re: How to insert a slashed o?

2014-06-10 Thread Jean-Marc Lasgouttes

08/06/2014 23:01, stefano franchi:

Thanks Richard, that's what I did, eventually (cutting and pasting). I
was just hoping  there'd be a function I could bind to a shortcut, but
apparently not.


Try unicode-insert 0x00F8.

JMarc



Re: How to insert a slashed o?

2014-06-10 Thread Jean-Marc Lasgouttes

08/06/2014 23:01, stefano franchi:

Thanks Richard, that's what I did, eventually (cutting and pasting). I
was just hoping  there'd be a function I could bind to a shortcut, but
apparently not.


Try "unicode-insert 0x00F8".

JMarc



Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 04:34 PM, stefano franchi wrote:
Does anyone know LyX has function similar to the various insert-accent 
functions, that would insert the Danish slashed o? I am trying to 
write Kierkegaard's name without resorting to LaTeX codes. The 
function should insert

U+00F8 ø latin small letter o with stroke


The easy way it to cut and paste it into the document. You can slso use 
unicode-insert 00F8 from the minibuffer.


Richard



Re: How to insert a slashed o?

2014-06-08 Thread stefano franchi
On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck rgh...@lyx.org wrote:

  On 06/08/2014 04:34 PM, stefano franchi wrote:

 Does anyone know LyX has function similar to the various insert-accent
 functions, that would insert the Danish slashed o? I am trying to write
 Kierkegaard's name without resorting to LaTeX codes. The function should
 insert
 U+00F8 ø latin small letter o with stroke


 The easy way it to cut and paste it into the document. You can slso use
 unicode-insert 00F8 from the minibuffer.


Thanks Richard, that's what I did, eventually (cutting and pasting). I was
just hoping  there'd be a function I could bind to a shortcut, but
apparently not.

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 05:01 PM, stefano franchi wrote:




On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck rgh...@lyx.org 
mailto:rgh...@lyx.org wrote:


On 06/08/2014 04:34 PM, stefano franchi wrote:

Does anyone know LyX has function similar to the various
insert-accent functions, that would insert the Danish slashed
o? I am trying to write Kierkegaard's name without resorting to
LaTeX codes. The function should insert
U+00F8 ø latin small letter o with stroke


The easy way it to cut and paste it into the document. You can
slso use unicode-insert 00F8 from the minibuffer.


Thanks Richard, that's what I did, eventually (cutting and pasting). I 
was just hoping  there'd be a function I could bind to a shortcut, but 
apparently not.


Yes, you can bind unicode-insert 00F8.

rh




Re: How to insert a slashed o?

2014-06-08 Thread stefano franchi
On Sun, Jun 8, 2014 at 4:30 PM, Richard Heck rgh...@lyx.org wrote:

  On 06/08/2014 05:01 PM, stefano franchi wrote:




 On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck rgh...@lyx.org wrote:

  On 06/08/2014 04:34 PM, stefano franchi wrote:

 Does anyone know LyX has function similar to the various insert-accent
 functions, that would insert the Danish slashed o? I am trying to write
 Kierkegaard's name without resorting to LaTeX codes. The function should
 insert
 U+00F8 ø latin small letter o with stroke


  The easy way it to cut and paste it into the document. You can slso use
 unicode-insert 00F8 from the minibuffer.


  Thanks Richard, that's what I did, eventually (cutting and pasting). I
 was just hoping  there'd be a function I could bind to a shortcut, but
 apparently not.


 Yes, you can bind unicode-insert 00F8.



Ah, of course, silly me. Thanks.


Now, suppose instead I want to add a LFUN to take care of inserting the
slashed o.
(I won't, just trying to understand a bit better how keyboard input is
managed in this case)
I would add the proper constant in FuncCode.h and its proper line and
documentation in LyXAction.cpp. But where does managing the insertion go? I
grepped  the accent-acute etcetera functions, but cannot find any place in
the codebase where the insertion actually take place.

S.


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 05:36 PM, stefano franchi wrote:
Now, suppose instead I want to add a LFUN to take care of inserting 
the slashed o.
(I won't, just trying to understand a bit better how keyboard input is 
managed in this case)
I would add the proper constant in FuncCode.h and its proper line and 
documentation in LyXAction.cpp. But where does managing the insertion 
go? I grepped  the accent-acute etcetera functions, but cannot find 
any place in the codebase where the insertion actually take place.


The lowercase LFUNs are user-friendly versions. They are converted to 
elements of an enum for handling within the code itself, in this case, 
LFUN_ACCENT_ACUTE. So that's what you really need to search for. It gets 
handled within Text3.cpp. The way it works is that the LFUN itself 
mimics a deadkey (this is the call to handleKeyFunc), and then 
translateAndInsert does the actual insertion.


Richard



Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 04:34 PM, stefano franchi wrote:
Does anyone know LyX has function similar to the various insert-accent 
functions, that would insert the Danish slashed o? I am trying to 
write Kierkegaard's name without resorting to LaTeX codes. The 
function should insert

U+00F8 ø latin small letter o with stroke


The easy way it to cut and paste it into the document. You can slso use 
unicode-insert 00F8 from the minibuffer.


Richard



Re: How to insert a slashed o?

2014-06-08 Thread stefano franchi
On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck rgh...@lyx.org wrote:

  On 06/08/2014 04:34 PM, stefano franchi wrote:

 Does anyone know LyX has function similar to the various insert-accent
 functions, that would insert the Danish slashed o? I am trying to write
 Kierkegaard's name without resorting to LaTeX codes. The function should
 insert
 U+00F8 ø latin small letter o with stroke


 The easy way it to cut and paste it into the document. You can slso use
 unicode-insert 00F8 from the minibuffer.


Thanks Richard, that's what I did, eventually (cutting and pasting). I was
just hoping  there'd be a function I could bind to a shortcut, but
apparently not.

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 05:01 PM, stefano franchi wrote:




On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck rgh...@lyx.org 
mailto:rgh...@lyx.org wrote:


On 06/08/2014 04:34 PM, stefano franchi wrote:

Does anyone know LyX has function similar to the various
insert-accent functions, that would insert the Danish slashed
o? I am trying to write Kierkegaard's name without resorting to
LaTeX codes. The function should insert
U+00F8 ø latin small letter o with stroke


The easy way it to cut and paste it into the document. You can
slso use unicode-insert 00F8 from the minibuffer.


Thanks Richard, that's what I did, eventually (cutting and pasting). I 
was just hoping  there'd be a function I could bind to a shortcut, but 
apparently not.


Yes, you can bind unicode-insert 00F8.

rh




Re: How to insert a slashed o?

2014-06-08 Thread stefano franchi
On Sun, Jun 8, 2014 at 4:30 PM, Richard Heck rgh...@lyx.org wrote:

  On 06/08/2014 05:01 PM, stefano franchi wrote:




 On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck rgh...@lyx.org wrote:

  On 06/08/2014 04:34 PM, stefano franchi wrote:

 Does anyone know LyX has function similar to the various insert-accent
 functions, that would insert the Danish slashed o? I am trying to write
 Kierkegaard's name without resorting to LaTeX codes. The function should
 insert
 U+00F8 ø latin small letter o with stroke


  The easy way it to cut and paste it into the document. You can slso use
 unicode-insert 00F8 from the minibuffer.


  Thanks Richard, that's what I did, eventually (cutting and pasting). I
 was just hoping  there'd be a function I could bind to a shortcut, but
 apparently not.


 Yes, you can bind unicode-insert 00F8.



Ah, of course, silly me. Thanks.


Now, suppose instead I want to add a LFUN to take care of inserting the
slashed o.
(I won't, just trying to understand a bit better how keyboard input is
managed in this case)
I would add the proper constant in FuncCode.h and its proper line and
documentation in LyXAction.cpp. But where does managing the insertion go? I
grepped  the accent-acute etcetera functions, but cannot find any place in
the codebase where the insertion actually take place.

S.


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 05:36 PM, stefano franchi wrote:
Now, suppose instead I want to add a LFUN to take care of inserting 
the slashed o.
(I won't, just trying to understand a bit better how keyboard input is 
managed in this case)
I would add the proper constant in FuncCode.h and its proper line and 
documentation in LyXAction.cpp. But where does managing the insertion 
go? I grepped  the accent-acute etcetera functions, but cannot find 
any place in the codebase where the insertion actually take place.


The lowercase LFUNs are user-friendly versions. They are converted to 
elements of an enum for handling within the code itself, in this case, 
LFUN_ACCENT_ACUTE. So that's what you really need to search for. It gets 
handled within Text3.cpp. The way it works is that the LFUN itself 
mimics a deadkey (this is the call to handleKeyFunc), and then 
translateAndInsert does the actual insertion.


Richard



Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 04:34 PM, stefano franchi wrote:
Does anyone know LyX has function similar to the various insert-accent 
functions, that would insert the Danish "slashed o"? I am trying to 
write Kierkegaard's name without resorting to LaTeX codes. The 
function should insert

U+00F8 ø latin small letter o with stroke


The easy way it to cut and paste it into the document. You can slso use 
"unicode-insert 00F8" from the minibuffer.


Richard



Re: How to insert a slashed o?

2014-06-08 Thread stefano franchi
On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck  wrote:

>  On 06/08/2014 04:34 PM, stefano franchi wrote:
>
> Does anyone know LyX has function similar to the various insert-accent
> functions, that would insert the Danish "slashed o"? I am trying to write
> Kierkegaard's name without resorting to LaTeX codes. The function should
> insert
> U+00F8 ø latin small letter o with stroke
>
>
> The easy way it to cut and paste it into the document. You can slso use
> "unicode-insert 00F8" from the minibuffer.
>
>
Thanks Richard, that's what I did, eventually (cutting and pasting). I was
just hoping  there'd be a function I could bind to a shortcut, but
apparently not.

Cheers,

S.



-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 05:01 PM, stefano franchi wrote:




On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck > wrote:


On 06/08/2014 04:34 PM, stefano franchi wrote:

Does anyone know LyX has function similar to the various
insert-accent functions, that would insert the Danish "slashed
o"? I am trying to write Kierkegaard's name without resorting to
LaTeX codes. The function should insert
U+00F8 ø latin small letter o with stroke


The easy way it to cut and paste it into the document. You can
slso use "unicode-insert 00F8" from the minibuffer.


Thanks Richard, that's what I did, eventually (cutting and pasting). I 
was just hoping  there'd be a function I could bind to a shortcut, but 
apparently not.


Yes, you can bind "unicode-insert 00F8".

rh




Re: How to insert a slashed o?

2014-06-08 Thread stefano franchi
On Sun, Jun 8, 2014 at 4:30 PM, Richard Heck  wrote:

>  On 06/08/2014 05:01 PM, stefano franchi wrote:
>
>
>
>
> On Sun, Jun 8, 2014 at 3:55 PM, Richard Heck  wrote:
>
>>  On 06/08/2014 04:34 PM, stefano franchi wrote:
>>
>> Does anyone know LyX has function similar to the various insert-accent
>> functions, that would insert the Danish "slashed o"? I am trying to write
>> Kierkegaard's name without resorting to LaTeX codes. The function should
>> insert
>> U+00F8 ø latin small letter o with stroke
>>
>>
>>  The easy way it to cut and paste it into the document. You can slso use
>> "unicode-insert 00F8" from the minibuffer.
>>
>>
>  Thanks Richard, that's what I did, eventually (cutting and pasting). I
> was just hoping  there'd be a function I could bind to a shortcut, but
> apparently not.
>
>
> Yes, you can bind "unicode-insert 00F8".
>
>

Ah, of course, silly me. Thanks.


Now, suppose instead I want to add a LFUN to take care of inserting the
slashed o.
(I won't, just trying to understand a bit better how keyboard input is
managed in this case)
I would add the proper constant in FuncCode.h and its proper line and
documentation in LyXAction.cpp. But where does managing the insertion go? I
grepped  the accent-acute etcetera functions, but cannot find any place in
the codebase where the insertion actually take place.

S.


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: How to insert a slashed o?

2014-06-08 Thread Richard Heck

On 06/08/2014 05:36 PM, stefano franchi wrote:
Now, suppose instead I want to add a LFUN to take care of inserting 
the slashed o.
(I won't, just trying to understand a bit better how keyboard input is 
managed in this case)
I would add the proper constant in FuncCode.h and its proper line and 
documentation in LyXAction.cpp. But where does managing the insertion 
go? I grepped  the accent-acute etcetera functions, but cannot find 
any place in the codebase where the insertion actually take place.


The lowercase LFUNs are user-friendly versions. They are converted to 
elements of an enum for handling within the code itself, in this case, 
LFUN_ACCENT_ACUTE. So that's what you really need to search for. It gets 
handled within Text3.cpp. The way it works is that the LFUN itself 
mimics a deadkey (this is the call to handleKeyFunc), and then 
translateAndInsert does the actual insertion.


Richard