LyX 1.1.3 + Mandrake 6.1
** for an English version check down. **
 
------------| Spanish version |-------------------
Logre trabajar con LyX usando un teclado en ingles, pudiendo escribir en español (ñ,é,á,...). Hago esto:
 
1) configurar el archivo /etc/X11/XF86Config con la seccion de teclado(Keyboard) de la siguiente manera:
Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      500 5
   LeftAlt         Meta
   RightAlt        Compose
   ScrollLock      Compose
   RightCtl        Control
   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
   XkbModel        "pc101"
   XkbLayout       "us"
   XkbOptions      "grp:switch"    # <- aqui esta el truco que me permite
                                   #    manipular el Alt derecho
EndSection
2) crear un archivo llamado pav.map con el siguiente contenido:
clear Mod3
add Mod3 = Alt_R
keycode 57 = n N ntilde
keycode 38 = a A aacute
keycode 26 = e E eacute
keycode 32 = o O oacute
keycode 31 = i I iacute
keycode 30 = u U uacute
 
3) reiniciar X, y en una terminal X, ejecutar:
xmodmap pav.map
 
4) haz correr el LyX y presiona:
    AltDerecho + a          para á
    AltDerecho + Shift+a    para Á
    :
    :
    AltDerecho + n          para ñ
    AltDerecho + N          para Ñ
 
Me pregunto si existe una mejor manera de obtener esto. Alguien sabe algo?
Saludos.
 

---
Pablo Veliz Bouzas
[EMAIL PROTECTED]
 
------------| English version |-------------------
I managed to work with LyX using a US-keyboard writing in Spanish (ñ,é,á...). I do this:
 
1) setup the /etc/X11/XF86Config with the Keyboard section as following:
Section "Keyboard"
   Protocol        "Standard"
   AutoRepeat      500 5
   LeftAlt         Meta
   RightAlt        Compose
   ScrollLock      Compose
   RightCtl        Control
   XkbKeycodes     "xfree86"
   XkbTypes        "default"
   XkbCompat       "default"
   XkbSymbols      "us(pc101)"
   XkbGeometry     "pc"
   XkbRules        "xfree86"
   XkbModel        "pc101"
   XkbLayout       "us"
   XkbOptions      "grp:switch"    # <- here is the trick for Right-Alt
EndSection
2) create a file named pav.map with the following line:
clear Mod3
add Mod3 = Alt_R
keycode 57 = n N ntilde
keycode 38 = a A aacute
keycode 26 = e E eacute
keycode 32 = o O oacute
keycode 31 = i I iacute
keycode 30 = u U uacute
 
3) restart X, and in a Xterminal execute:
xmodmap pav.map
 
4) try Lyx and press:
    RightAlt + a          for á
    RightAlt + Shift+a    for Á
    :
    :
    RightAlt + n          for ñ
    RightAlt + N          for Ñ
 
I was wondering if there is a better way to do this. Anyone knows?
Bye.

---
Pablo Veliz Bouzas
[EMAIL PROTECTED]

pav.map

Reply via email to