Re: [Vim-latex-devel] [Contact] wrong maping of \\label{} on czech keyboard
Brought to you by:
srinathava,
tmaas
From: Vaidotas Z. <v.z...@po...> - 2004-01-01 13:07:53
|
Hi, > > I have latexSuite20031216 on Debian with KDE. When I want type e with > > hook (\\v e) I receive \\label{}<++> > > > > I receive the same when I try to compose this by death key. In > > both cases keyboard sends same sign (0xEC in ISO8859-2) >=20 > I have iso-8859-2 (Vim6.2.149, CVS version but this area didn't changed) > and tried to enter <c-v>uec<Space> and get =C4=9B (not sure what you will= see > here, ga returns decimal 236, oktal 354). Digraph <c-k>i! also works OK > - thus code doesn't trigger some macro for me. >=20 > Problem is weird because I cannot see any place where is direct macro to > insert \label{}<++>. >=20 > > It\'s big problem for > > czech users. I want disable this but I don\'t know where. I\'m not skil= ed > > in vim scripts. >=20 > Looks like a strange problem with your system. Not sure where. > Maybe it is related to the fact that VIM produces symbols of ISO-8859-2 by pressing alt + some_letter. And if you map something to Alt + some_letter a= nd look at the mapping using :map you will not see <M-some_letter> but see act= ual letters. For exampe :imap gives me i =C3=AC @<Plug>Tex_LeftRight i =C3=A3 @<Plug>Tex_MathCal i =C3=A2 @<Plug>Tex_MathBF Thus pressing ALt+l gives me =C3=AC in non latexsuite mode and \label{}<++> in latexsuite mode. There is a setting for turning off these mappings in latexsuite's texrc. So there is a possibility that when you get your special ISO-8859-2 symbol using some input metod, VIM just assumes that this is a mapping and produces the command in the mapping. The strange thing is that this happens when you want to produce e with carron. I get =C3=A9 with alt+i and =C3=A8 with alt+= h. Ant \label and \left stuff with alt+l. So all the things I just said must not concern you:) Either way I think this information might be helpful in solving your proble= m. If I was using ISO-8859-2 symbols, maybe I could help you more, but I need = =20 ISO- 8859-13 and this character set is not so widely supported as ISO-8859-2. So= no special mappings in VIM for it:) Mpiktas |