Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:16 +0200, Daniel CLEMENT a écrit :
 Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
  Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
   I can reproduce your problem with my oldish Ubuntu 12.04. However, the
   same happens in all Qt applications. Therefore the bug is not ours and
   the solution, if any, needs to be searched in qt-relqted forums IMO.
 
 Jean-Marc, you're absolutely right! I have very few qt-apps but I
 managed to try Ipython-qtconsole (which I never use) and I indeed get an
 accented c there too. I should not have blamed LyX!
 
 I'll search the qt-forums, but perhaps in the meantime LyX will come up
 with some form of automatic correction that will turn all my  ć into 
 ç  ...
  
  You could try this (old-ish) solution, for example:
  http://ubuntuforums.org/showthread.php?t=1474091
 
 I doubt I can use that workaround because my DE is XFCE, and I have no
 trace of im-switch or other KDE advanced tweaks :-(
  
  JMarc
 Thanks for explaining where the bug comes from. Best regards,

SOLVED anyhow, according to this (highly controversial) bug report:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056
(post #28, quoted below for reference)
--
For QT applications you need to edit this file:

/usr/share/X11/locale/en_US.UTF-8/Compose

and change every accented Cs by their corresponding Ç and ç (two times),
in these lines:

dead_acute C : Ç U0106 # LATIN CAPITAL LETTER C WITH ACUTE
dead_acute c : ç U0107 # LATIN SMALL LETTER C WITH ACUTE
--
BR,
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Liviu Andronic
On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT dcleme...@laposte.net
wrote:

 Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
  [...]
  
   Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
   lines? In fact I get the impression that my .kmap file has no effect,
   regardless of what I put into it.
  
   TIA for any input. Best regards,
  I find ,c (comma c, rather than apostrophe c) gives a cedilla c
  using european as the primary keyboard map under
  ToolsPreferencesEditingKeyboard/Mouse.
 
  Andrew
 I tried it, though it's not designed for keyboard with dead keys, but
 nothing changed (,c -- comma and c; 'c -- accented c). LyX
 seems to disregard any kmap file I choose in the preferences...


Do you do Tools  Reconfigure after changing kmap files?

Liviu



 --
 Daniel CLEMENT




-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
 
 
 On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
 dcleme...@laposte.net wrote:
 Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
  [...]
  
   Should I use \kmod or \kxmod? acute or ' ? cC or c and C
 on separate
   lines? In fact I get the impression that my .kmap file has
 no effect,
   regardless of what I put into it.
  
   TIA for any input. Best regards,
  I find ,c (comma c, rather than apostrophe c) gives a
 cedilla c
  using european as the primary keyboard map under
  ToolsPreferencesEditingKeyboard/Mouse.
 
  Andrew
 I tried it, though it's not designed for keyboard with dead
 keys, but
 nothing changed (,c -- comma and c; 'c -- accented
 c). LyX
 seems to disregard any kmap file I choose in the
 preferences...
 
 
 Do you do Tools  Reconfigure after changing kmap files? 
 
 
 Liviu 
 
Oops--I thought Tools  Reconfigure was only for LaTeX packages... I
only restarted LyX. Now european.kmap seems to work as it should. 

That's not quite the way I want my keyboard to work, but I'll try and
use this file as a template for my own perso.kmap, not forgetting to
reconfigure each time :-)

Now I'll try and play with the settings, and hopefully get this working.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Guenter Milde
On 2015-06-17, Daniel CLEMENT wrote:

 Oops--I thought Tools  Reconfigure was only for LaTeX packages... I
 only restarted LyX. Now european.kmap seems to work as it should. 

 That's not quite the way I want my keyboard to work, but I'll try and
 use this file as a template for my own perso.kmap, not forgetting to
 reconfigure each time :-)

 Now I'll try and play with the settings, and hopefully get this working.

You know, that there is a GUI for key configuration under ToolsSettings?
This should work without reconfiguration.

Günter



Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 10:55, Daniel CLEMENT a écrit :

After reconfiguring, my perso.kmap file does something indeed, but not
what I would expect. Here is what I put in it:
--
\kmod ' acute aeiouAEIOU
\kmod ` grave aeiouAEIOU
\kxmod acute c ç
\kxmod acute C Ç
--
but still 'c gives me an accented c. Moreover, I can no longer type
the apostrophe with acute accent+space: acute accent+2 spaces gives me
an empty acute accent...


What is your OS? How do you obtain ç in other applications?

JMarc


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
 Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
  I can reproduce your problem with my oldish Ubuntu 12.04. However, the
  same happens in all Qt applications. Therefore the bug is not ours and
  the solution, if any, needs to be searched in qt-relqted forums IMO.

Jean-Marc, you're absolutely right! I have very few qt-apps but I
managed to try Ipython-qtconsole (which I never use) and I indeed get an
accented c there too. I should not have blamed LyX!

I'll search the qt-forums, but perhaps in the meantime LyX will come up
with some form of automatic correction that will turn all my  ć into 
ç  ...
 
 You could try this (old-ish) solution, for example:
 http://ubuntuforums.org/showthread.php?t=1474091

I doubt I can use that workaround because my DE is XFCE, and I have no
trace of im-switch or other KDE advanced tweaks :-(
 
 JMarc
Thanks for explaining where the bug comes from. Best regards,
-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 11:26, Daniel CLEMENT a écrit :

What is your OS?


It's Linux Mint Debian (essentially the same as Debian Testing).


How do you obtain ç in other applications?


 'c  produces ç in every other application. (That's consistent with
the system-wide keyboard setting: US Intl. with dead keys.)


If you do not do anything special, it is supposed to just work IMO.

I can reproduce your problem with my oldish Ubuntu 12.04. However, the 
same happens in all Qt applications. Therefore the bug is not ours and 
the solution, if any, needs to be searched in qt-relqted forums IMO.


JMarc



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 11:01 +0200, Jean-Marc Lasgouttes a écrit :
 Le 17/06/2015 10:55, Daniel CLEMENT a écrit :
  After reconfiguring, my perso.kmap file does something indeed, but not
  what I would expect. Here is what I put in it:
  --
  \kmod ' acute aeiouAEIOU
  \kmod ` grave aeiouAEIOU
  \kxmod acute c ç
  \kxmod acute C Ç
  --
  but still 'c gives me an accented c. Moreover, I can no longer type
  the apostrophe with acute accent+space: acute accent+2 spaces gives me
  an empty acute accent...
 
 What is your OS? 

It's Linux Mint Debian (essentially the same as Debian Testing).

 How do you obtain ç in other applications?

 'c  produces ç in every other application. (That's consistent with
the system-wide keyboard setting: US Intl. with dead keys.)

 
 JMarc

-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
 
 
 On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
 dcleme...@laposte.net wrote:
 Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
  [...]
  
   Should I use \kmod or \kxmod? acute or ' ? cC or c and C
 on separate
   lines? In fact I get the impression that my .kmap file has
 no effect,
   regardless of what I put into it.
  
   TIA for any input. Best regards,
  I find ,c (comma c, rather than apostrophe c) gives a
 cedilla c
  using european as the primary keyboard map under
  ToolsPreferencesEditingKeyboard/Mouse.
 
  Andrew
 I tried it, though it's not designed for keyboard with dead
 keys, but
 nothing changed (,c -- comma and c; 'c -- accented
 c). LyX
 seems to disregard any kmap file I choose in the
 preferences...
 
 
 Do you do Tools  Reconfigure after changing kmap files? 
 
 
 Liviu 
 
After reconfiguring, my perso.kmap file does something indeed, but not
what I would expect. Here is what I put in it:
--
\kmod ' acute aeiouAEIOU
\kmod ` grave aeiouAEIOU
\kxmod acute c ç
\kxmod acute C Ç
--
but still 'c gives me an accented c. Moreover, I can no longer type
the apostrophe with acute accent+space: acute accent+2 spaces gives me
an empty acute accent...
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:23 +, Guenter Milde a écrit :
 On 2015-06-17, Daniel CLEMENT wrote:
 
  Oops--I thought Tools  Reconfigure was only for LaTeX packages... I
  only restarted LyX. Now european.kmap seems to work as it should. 
 
  That's not quite the way I want my keyboard to work, but I'll try and
  use this file as a template for my own perso.kmap, not forgetting to
  reconfigure each time :-)
 
  Now I'll try and play with the settings, and hopefully get this working.
 
 You know, that there is a GUI for key configuration under ToolsSettings?
 This should work without reconfiguration.
 
 Günter
 
Do you mean ToolsSettingsShortcuts? Well I have made a shortcut, as a
workaround, for typing the cedilla c (Ctrl+Shift+c). But I don't know
how to make a shortcut involving a dead key, namely, the acute accent.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :

I can reproduce your problem with my oldish Ubuntu 12.04. However, the
same happens in all Qt applications. Therefore the bug is not ours and
the solution, if any, needs to be searched in qt-relqted forums IMO.


You could try this (old-ish) solution, for example:
http://ubuntuforums.org/showthread.php?t=1474091

JMarc


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
 [...]
 
  Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
  lines? In fact I get the impression that my .kmap file has no effect,
  regardless of what I put into it.
 
  TIA for any input. Best regards,
 I find ,c (comma c, rather than apostrophe c) gives a cedilla c 
 using european as the primary keyboard map under 
 ToolsPreferencesEditingKeyboard/Mouse.
 
 Andrew
I tried it, though it's not designed for keyboard with dead keys, but
nothing changed (,c -- comma and c; 'c -- accented c). LyX
seems to disregard any kmap file I choose in the preferences...
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
 [...]
 
  Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
  lines? In fact I get the impression that my .kmap file has no effect,
  regardless of what I put into it.
 
  TIA for any input. Best regards,
 I find ,c (comma c, rather than apostrophe c) gives a cedilla c 
 using european as the primary keyboard map under 
 ToolsPreferencesEditingKeyboard/Mouse.
 
 Andrew
I tried it, though it's not designed for keyboard with dead keys, but
nothing changed (,c -- comma and c; 'c -- accented c). LyX
seems to disregard any kmap file I choose in the preferences...
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Liviu Andronic
On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT dcleme...@laposte.net
wrote:

 Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
  [...]
  
   Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
   lines? In fact I get the impression that my .kmap file has no effect,
   regardless of what I put into it.
  
   TIA for any input. Best regards,
  I find ,c (comma c, rather than apostrophe c) gives a cedilla c
  using european as the primary keyboard map under
  ToolsPreferencesEditingKeyboard/Mouse.
 
  Andrew
 I tried it, though it's not designed for keyboard with dead keys, but
 nothing changed (,c -- comma and c; 'c -- accented c). LyX
 seems to disregard any kmap file I choose in the preferences...


Do you do Tools  Reconfigure after changing kmap files?

Liviu



 --
 Daniel CLEMENT




-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
 
 
 On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
 dcleme...@laposte.net wrote:
 Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
  [...]
  
   Should I use \kmod or \kxmod? acute or ' ? cC or c and C
 on separate
   lines? In fact I get the impression that my .kmap file has
 no effect,
   regardless of what I put into it.
  
   TIA for any input. Best regards,
  I find ,c (comma c, rather than apostrophe c) gives a
 cedilla c
  using european as the primary keyboard map under
  ToolsPreferencesEditingKeyboard/Mouse.
 
  Andrew
 I tried it, though it's not designed for keyboard with dead
 keys, but
 nothing changed (,c -- comma and c; 'c -- accented
 c). LyX
 seems to disregard any kmap file I choose in the
 preferences...
 
 
 Do you do Tools  Reconfigure after changing kmap files? 
 
 
 Liviu 
 
Oops--I thought Tools  Reconfigure was only for LaTeX packages... I
only restarted LyX. Now european.kmap seems to work as it should. 

That's not quite the way I want my keyboard to work, but I'll try and
use this file as a template for my own perso.kmap, not forgetting to
reconfigure each time :-)

Now I'll try and play with the settings, and hopefully get this working.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Guenter Milde
On 2015-06-17, Daniel CLEMENT wrote:

 Oops--I thought Tools  Reconfigure was only for LaTeX packages... I
 only restarted LyX. Now european.kmap seems to work as it should. 

 That's not quite the way I want my keyboard to work, but I'll try and
 use this file as a template for my own perso.kmap, not forgetting to
 reconfigure each time :-)

 Now I'll try and play with the settings, and hopefully get this working.

You know, that there is a GUI for key configuration under ToolsSettings?
This should work without reconfiguration.

Günter



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
 
 
 On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
 dcleme...@laposte.net wrote:
 Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
 
  [...]
  
   Should I use \kmod or \kxmod? acute or ' ? cC or c and C
 on separate
   lines? In fact I get the impression that my .kmap file has
 no effect,
   regardless of what I put into it.
  
   TIA for any input. Best regards,
  I find ,c (comma c, rather than apostrophe c) gives a
 cedilla c
  using european as the primary keyboard map under
  ToolsPreferencesEditingKeyboard/Mouse.
 
  Andrew
 I tried it, though it's not designed for keyboard with dead
 keys, but
 nothing changed (,c -- comma and c; 'c -- accented
 c). LyX
 seems to disregard any kmap file I choose in the
 preferences...
 
 
 Do you do Tools  Reconfigure after changing kmap files? 
 
 
 Liviu 
 
After reconfiguring, my perso.kmap file does something indeed, but not
what I would expect. Here is what I put in it:
--
\kmod ' acute aeiouAEIOU
\kmod ` grave aeiouAEIOU
\kxmod acute c ç
\kxmod acute C Ç
--
but still 'c gives me an accented c. Moreover, I can no longer type
the apostrophe with acute accent+space: acute accent+2 spaces gives me
an empty acute accent...
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:23 +, Guenter Milde a écrit :
 On 2015-06-17, Daniel CLEMENT wrote:
 
  Oops--I thought Tools  Reconfigure was only for LaTeX packages... I
  only restarted LyX. Now european.kmap seems to work as it should. 
 
  That's not quite the way I want my keyboard to work, but I'll try and
  use this file as a template for my own perso.kmap, not forgetting to
  reconfigure each time :-)
 
  Now I'll try and play with the settings, and hopefully get this working.
 
 You know, that there is a GUI for key configuration under ToolsSettings?
 This should work without reconfiguration.
 
 Günter
 
Do you mean ToolsSettingsShortcuts? Well I have made a shortcut, as a
workaround, for typing the cedilla c (Ctrl+Shift+c). But I don't know
how to make a shortcut involving a dead key, namely, the acute accent.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 10:55, Daniel CLEMENT a écrit :

After reconfiguring, my perso.kmap file does something indeed, but not
what I would expect. Here is what I put in it:
--
\kmod ' acute aeiouAEIOU
\kmod ` grave aeiouAEIOU
\kxmod acute c ç
\kxmod acute C Ç
--
but still 'c gives me an accented c. Moreover, I can no longer type
the apostrophe with acute accent+space: acute accent+2 spaces gives me
an empty acute accent...


What is your OS? How do you obtain ç in other applications?

JMarc


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 11:01 +0200, Jean-Marc Lasgouttes a écrit :
 Le 17/06/2015 10:55, Daniel CLEMENT a écrit :
  After reconfiguring, my perso.kmap file does something indeed, but not
  what I would expect. Here is what I put in it:
  --
  \kmod ' acute aeiouAEIOU
  \kmod ` grave aeiouAEIOU
  \kxmod acute c ç
  \kxmod acute C Ç
  --
  but still 'c gives me an accented c. Moreover, I can no longer type
  the apostrophe with acute accent+space: acute accent+2 spaces gives me
  an empty acute accent...
 
 What is your OS? 

It's Linux Mint Debian (essentially the same as Debian Testing).

 How do you obtain ç in other applications?

 'c  produces ç in every other application. (That's consistent with
the system-wide keyboard setting: US Intl. with dead keys.)

 
 JMarc

-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 11:26, Daniel CLEMENT a écrit :

What is your OS?


It's Linux Mint Debian (essentially the same as Debian Testing).


How do you obtain ç in other applications?


 'c  produces ç in every other application. (That's consistent with
the system-wide keyboard setting: US Intl. with dead keys.)


If you do not do anything special, it is supposed to just work IMO.

I can reproduce your problem with my oldish Ubuntu 12.04. However, the 
same happens in all Qt applications. Therefore the bug is not ours and 
the solution, if any, needs to be searched in qt-relqted forums IMO.


JMarc



Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :

I can reproduce your problem with my oldish Ubuntu 12.04. However, the
same happens in all Qt applications. Therefore the bug is not ours and
the solution, if any, needs to be searched in qt-relqted forums IMO.


You could try this (old-ish) solution, for example:
http://ubuntuforums.org/showthread.php?t=1474091

JMarc


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
 Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
  I can reproduce your problem with my oldish Ubuntu 12.04. However, the
  same happens in all Qt applications. Therefore the bug is not ours and
  the solution, if any, needs to be searched in qt-relqted forums IMO.

Jean-Marc, you're absolutely right! I have very few qt-apps but I
managed to try Ipython-qtconsole (which I never use) and I indeed get an
accented c there too. I should not have blamed LyX!

I'll search the qt-forums, but perhaps in the meantime LyX will come up
with some form of automatic correction that will turn all my  ć into 
ç  ...
 
 You could try this (old-ish) solution, for example:
 http://ubuntuforums.org/showthread.php?t=1474091

I doubt I can use that workaround because my DE is XFCE, and I have no
trace of im-switch or other KDE advanced tweaks :-(
 
 JMarc
Thanks for explaining where the bug comes from. Best regards,
-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:16 +0200, Daniel CLEMENT a écrit :
 Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
  Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
   I can reproduce your problem with my oldish Ubuntu 12.04. However, the
   same happens in all Qt applications. Therefore the bug is not ours and
   the solution, if any, needs to be searched in qt-relqted forums IMO.
 
 Jean-Marc, you're absolutely right! I have very few qt-apps but I
 managed to try Ipython-qtconsole (which I never use) and I indeed get an
 accented c there too. I should not have blamed LyX!
 
 I'll search the qt-forums, but perhaps in the meantime LyX will come up
 with some form of automatic correction that will turn all my  ć into 
 ç  ...
  
  You could try this (old-ish) solution, for example:
  http://ubuntuforums.org/showthread.php?t=1474091
 
 I doubt I can use that workaround because my DE is XFCE, and I have no
 trace of im-switch or other KDE advanced tweaks :-(
  
  JMarc
 Thanks for explaining where the bug comes from. Best regards,

SOLVED anyhow, according to this (highly controversial) bug report:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056
(post #28, quoted below for reference)
--
For QT applications you need to edit this file:

/usr/share/X11/locale/en_US.UTF-8/Compose

and change every accented Cs by their corresponding Ç and ç (two times),
in these lines:

dead_acute C : Ç U0106 # LATIN CAPITAL LETTER C WITH ACUTE
dead_acute c : ç U0107 # LATIN SMALL LETTER C WITH ACUTE
--
BR,
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
> 
> [...]
> >
> > Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
> > lines? In fact I get the impression that my .kmap file has no effect,
> > regardless of what I put into it.
> >
> > TIA for any input. Best regards,
> I find ",c" (comma c, rather than apostrophe c) gives a cedilla "c" 
> using "european" as the primary keyboard map under 
> Tools>Preferences>Editing>Keyboard/Mouse.
> 
> Andrew
I tried it, though it's not designed for keyboard with dead keys, but
nothing changed (",c" --> comma and "c"; "'c" --> accented "c"). LyX
seems to disregard any kmap file I choose in the preferences...
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Liviu Andronic
On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT 
wrote:

> Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
> >
> > [...]
> > >
> > > Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
> > > lines? In fact I get the impression that my .kmap file has no effect,
> > > regardless of what I put into it.
> > >
> > > TIA for any input. Best regards,
> > I find ",c" (comma c, rather than apostrophe c) gives a cedilla "c"
> > using "european" as the primary keyboard map under
> > Tools>Preferences>Editing>Keyboard/Mouse.
> >
> > Andrew
> I tried it, though it's not designed for keyboard with dead keys, but
> nothing changed (",c" --> comma and "c"; "'c" --> accented "c"). LyX
> seems to disregard any kmap file I choose in the preferences...
>

Do you do Tools > Reconfigure after changing kmap files?

Liviu



> --
> Daniel CLEMENT
>
>


-- 
Do you think you know what math is?
http://www.ideasroadshow.com/issues/ian-stewart-2013-08-02
Or what it means to be intelligent?
http://www.ideasroadshow.com/issues/john-duncan-2013-08-30
Think again:
http://www.ideasroadshow.com/library


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
> 
> 
> On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
>  wrote:
> Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
> >
> > [...]
> > >
> > > Should I use \kmod or \kxmod? acute or ' ? cC or c and C
> on separate
> > > lines? In fact I get the impression that my .kmap file has
> no effect,
> > > regardless of what I put into it.
> > >
> > > TIA for any input. Best regards,
> > I find ",c" (comma c, rather than apostrophe c) gives a
> cedilla "c"
> > using "european" as the primary keyboard map under
> > Tools>Preferences>Editing>Keyboard/Mouse.
> >
> > Andrew
> I tried it, though it's not designed for keyboard with dead
> keys, but
> nothing changed (",c" --> comma and "c"; "'c" --> accented
> "c"). LyX
> seems to disregard any kmap file I choose in the
> preferences...
> 
> 
> Do you do Tools > Reconfigure after changing kmap files? 
> 
> 
> Liviu 
> 
Oops--I thought Tools > Reconfigure was only for LaTeX packages... I
only restarted LyX. Now "european.kmap" seems to work as it should. 

That's not quite the way I want my keyboard to work, but I'll try and
use this file as a template for my own "perso.kmap", not forgetting to
reconfigure each time :-)

Now I'll try and play with the settings, and hopefully get this working.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Guenter Milde
On 2015-06-17, Daniel CLEMENT wrote:

> Oops--I thought Tools > Reconfigure was only for LaTeX packages... I
> only restarted LyX. Now "european.kmap" seems to work as it should. 

> That's not quite the way I want my keyboard to work, but I'll try and
> use this file as a template for my own "perso.kmap", not forgetting to
> reconfigure each time :-)

> Now I'll try and play with the settings, and hopefully get this working.

You know, that there is a GUI for key configuration under Tools>Settings?
This should work without reconfiguration.

Günter



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:13 +0200, Liviu Andronic a écrit :
> 
> 
> On Wed, Jun 17, 2015 at 8:04 AM, Daniel CLEMENT
>  wrote:
> Le mercredi 17 juin 2015 à 10:26 +1200, aparsloe a écrit :
> >
> > [...]
> > >
> > > Should I use \kmod or \kxmod? acute or ' ? cC or c and C
> on separate
> > > lines? In fact I get the impression that my .kmap file has
> no effect,
> > > regardless of what I put into it.
> > >
> > > TIA for any input. Best regards,
> > I find ",c" (comma c, rather than apostrophe c) gives a
> cedilla "c"
> > using "european" as the primary keyboard map under
> > Tools>Preferences>Editing>Keyboard/Mouse.
> >
> > Andrew
> I tried it, though it's not designed for keyboard with dead
> keys, but
> nothing changed (",c" --> comma and "c"; "'c" --> accented
> "c"). LyX
> seems to disregard any kmap file I choose in the
> preferences...
> 
> 
> Do you do Tools > Reconfigure after changing kmap files? 
> 
> 
> Liviu 
> 
After reconfiguring, my perso.kmap file does something indeed, but not
what I would expect. Here is what I put in it:
--
\kmod ' acute aeiouAEIOU
\kmod ` grave aeiouAEIOU
\kxmod acute c ç
\kxmod acute C Ç
--
but still "'c" gives me an accented "c". Moreover, I can no longer type
the apostrophe with acute accent+space: acute accent+2 spaces gives me
an "empty" acute accent...
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 08:23 +, Guenter Milde a écrit :
> On 2015-06-17, Daniel CLEMENT wrote:
> 
> > Oops--I thought Tools > Reconfigure was only for LaTeX packages... I
> > only restarted LyX. Now "european.kmap" seems to work as it should. 
> 
> > That's not quite the way I want my keyboard to work, but I'll try and
> > use this file as a template for my own "perso.kmap", not forgetting to
> > reconfigure each time :-)
> 
> > Now I'll try and play with the settings, and hopefully get this working.
> 
> You know, that there is a GUI for key configuration under Tools>Settings?
> This should work without reconfiguration.
> 
> Günter
> 
Do you mean Tools>Settings>Shortcuts? Well I have made a shortcut, as a
workaround, for typing the cedilla "c" (Ctrl+Shift+c). But I don't know
how to make a shortcut involving a dead key, namely, the acute accent.
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 10:55, Daniel CLEMENT a écrit :

After reconfiguring, my perso.kmap file does something indeed, but not
what I would expect. Here is what I put in it:
--
\kmod ' acute aeiouAEIOU
\kmod ` grave aeiouAEIOU
\kxmod acute c ç
\kxmod acute C Ç
--
but still "'c" gives me an accented "c". Moreover, I can no longer type
the apostrophe with acute accent+space: acute accent+2 spaces gives me
an "empty" acute accent...


What is your OS? How do you obtain ç in other applications?

JMarc


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 11:01 +0200, Jean-Marc Lasgouttes a écrit :
> Le 17/06/2015 10:55, Daniel CLEMENT a écrit :
> > After reconfiguring, my perso.kmap file does something indeed, but not
> > what I would expect. Here is what I put in it:
> > --
> > \kmod ' acute aeiouAEIOU
> > \kmod ` grave aeiouAEIOU
> > \kxmod acute c ç
> > \kxmod acute C Ç
> > --
> > but still "'c" gives me an accented "c". Moreover, I can no longer type
> > the apostrophe with acute accent+space: acute accent+2 spaces gives me
> > an "empty" acute accent...
> 
> What is your OS? 

It's Linux Mint Debian (essentially the same as Debian Testing).

> How do you obtain ç in other applications?

" 'c " produces ç in every other application. (That's consistent with
the system-wide keyboard setting: US Intl. with dead keys.)

> 
> JMarc

-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 11:26, Daniel CLEMENT a écrit :

What is your OS?


It's Linux Mint Debian (essentially the same as Debian Testing).


How do you obtain ç in other applications?


" 'c " produces ç in every other application. (That's consistent with
the system-wide keyboard setting: US Intl. with dead keys.)


If you do not do anything special, it is supposed to just work IMO.

I can reproduce your problem with my oldish Ubuntu 12.04. However, the 
same happens in all Qt applications. Therefore the bug is not ours and 
the solution, if any, needs to be searched in qt-relqted forums IMO.


JMarc



Re: My ongoing cedilla problem

2015-06-17 Thread Jean-Marc Lasgouttes

Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :

I can reproduce your problem with my oldish Ubuntu 12.04. However, the
same happens in all Qt applications. Therefore the bug is not ours and
the solution, if any, needs to be searched in qt-relqted forums IMO.


You could try this (old-ish) solution, for example:
http://ubuntuforums.org/showthread.php?t=1474091

JMarc


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
> Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
> > I can reproduce your problem with my oldish Ubuntu 12.04. However, the
> > same happens in all Qt applications. Therefore the bug is not ours and
> > the solution, if any, needs to be searched in qt-relqted forums IMO.

Jean-Marc, you're absolutely right! I have very few qt-apps but I
managed to try Ipython-qtconsole (which I never use) and I indeed get an
accented c there too. I should not have blamed LyX!

I'll search the qt-forums, but perhaps in the meantime LyX will come up
with some form of automatic correction that will turn all my " ć "into "
ç " ...
> 
> You could try this (old-ish) solution, for example:
> http://ubuntuforums.org/showthread.php?t=1474091

I doubt I can use that workaround because my DE is XFCE, and I have no
trace of im-switch or other KDE advanced tweaks :-(
> 
> JMarc
Thanks for explaining where the bug comes from. Best regards,
-- 
Daniel CLEMENT


Re: My ongoing cedilla problem

2015-06-17 Thread Daniel CLEMENT
Le mercredi 17 juin 2015 à 12:16 +0200, Daniel CLEMENT a écrit :
> Le mercredi 17 juin 2015 à 12:03 +0200, Jean-Marc Lasgouttes a écrit :
> > Le 17/06/2015 11:53, Jean-Marc Lasgouttes a écrit :
> > > I can reproduce your problem with my oldish Ubuntu 12.04. However, the
> > > same happens in all Qt applications. Therefore the bug is not ours and
> > > the solution, if any, needs to be searched in qt-relqted forums IMO.
> 
> Jean-Marc, you're absolutely right! I have very few qt-apps but I
> managed to try Ipython-qtconsole (which I never use) and I indeed get an
> accented c there too. I should not have blamed LyX!
> 
> I'll search the qt-forums, but perhaps in the meantime LyX will come up
> with some form of automatic correction that will turn all my " ć "into "
> ç " ...
> > 
> > You could try this (old-ish) solution, for example:
> > http://ubuntuforums.org/showthread.php?t=1474091
> 
> I doubt I can use that workaround because my DE is XFCE, and I have no
> trace of im-switch or other KDE advanced tweaks :-(
> > 
> > JMarc
> Thanks for explaining where the bug comes from. Best regards,

SOLVED anyhow, according to this (highly controversial) bug report:
https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/518056
(post #28, quoted below for reference)
--
For QT applications you need to edit this file:

/usr/share/X11/locale/en_US.UTF-8/Compose

and change every accented Cs by their corresponding Ç and ç (two times),
in these lines:

  : "Ç" U0106 # LATIN CAPITAL LETTER C WITH ACUTE
  : "ç" U0107 # LATIN SMALL LETTER C WITH ACUTE
--
BR,
-- 
Daniel CLEMENT



Re: My ongoing cedilla problem

2015-06-16 Thread aparsloe



On 16/06/2015 11:41 p.m., Daniel CLEMENT wrote:

Dear list members,

There's one small issue I've never been able to get fixed (since v. 1.4
I believe).

Though I write in French, I prefer to use a US-intl keyboard (for easy
access to various brackets), typing accents with dead keys.

Trouble is, LyX keeps translating  'c  into an accented c, unlike
any other app (which gives a cedilla c, the expected behavior).

I carefully reviewed section 4.2 of the Customization manual, but though
I understand it's about tweaking the .kmap file, I'm a little
overwhelmed by the number of possibilities.

Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
lines? In fact I get the impression that my .kmap file has no effect,
regardless of what I put into it.

TIA for any input. Best regards,
I find ,c (comma c, rather than apostrophe c) gives a cedilla c 
using european as the primary keyboard map under 
ToolsPreferencesEditingKeyboard/Mouse.


Andrew


Re: My ongoing cedilla problem

2015-06-16 Thread aparsloe



On 16/06/2015 11:41 p.m., Daniel CLEMENT wrote:

Dear list members,

There's one small issue I've never been able to get fixed (since v. 1.4
I believe).

Though I write in French, I prefer to use a US-intl keyboard (for easy
access to various brackets), typing accents with dead keys.

Trouble is, LyX keeps translating  'c  into an accented c, unlike
any other app (which gives a cedilla c, the expected behavior).

I carefully reviewed section 4.2 of the Customization manual, but though
I understand it's about tweaking the .kmap file, I'm a little
overwhelmed by the number of possibilities.

Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
lines? In fact I get the impression that my .kmap file has no effect,
regardless of what I put into it.

TIA for any input. Best regards,
I find ,c (comma c, rather than apostrophe c) gives a cedilla c 
using european as the primary keyboard map under 
ToolsPreferencesEditingKeyboard/Mouse.


Andrew


Re: My ongoing cedilla problem

2015-06-16 Thread aparsloe



On 16/06/2015 11:41 p.m., Daniel CLEMENT wrote:

Dear list members,

There's one small issue I've never been able to get fixed (since v. 1.4
I believe).

Though I write in French, I prefer to use a US-intl keyboard (for easy
access to various brackets), typing accents with dead keys.

Trouble is, LyX keeps translating " 'c " into an accented "c", unlike
any other app (which gives a cedilla "c", the expected behavior).

I carefully reviewed section 4.2 of the Customization manual, but though
I understand it's about tweaking the .kmap file, I'm a little
overwhelmed by the number of possibilities.

Should I use \kmod or \kxmod? acute or ' ? cC or c and C on separate
lines? In fact I get the impression that my .kmap file has no effect,
regardless of what I put into it.

TIA for any input. Best regards,
I find ",c" (comma c, rather than apostrophe c) gives a cedilla "c" 
using "european" as the primary keyboard map under 
Tools>Preferences>Editing>Keyboard/Mouse.


Andrew