german keyboard encoding and vim
Magnus Therning
magnus at therning.org
Wed Aug 24 22:24:47 UTC 2005
On Wed, Aug 24, 2005 at 09:58:29AM +0200, Christoph Georgi wrote:
>hi,
>
>i stumbled yesterday over a problem with my german keyboard when
>creating latex documents..
>
>i use a german (notebook) keyboard and a "not-localised" version of
>Ubuntu. and within X everything (seems) to work fine with the special
>german characters ö, ä, ü, and ß (as you can see ;) ) however, in the
>console i have to manually load the keys with '$ loadkeys de-latin1'
>and everything (seems) to work fine..
>
>no comes the problem: using vim in the console i don't get the special
>characters, but these strange hieroglyphs. using vim in X, it displays
>me the correct characters, but, latex does not find the appropriate
>codes in its german keyboard mapping (using
>'\usepackage[latin1]{inputenc}') and i get these hieroglyphs in the
>output file :( the latex log tells me, that the inputenc package
>doesn't know e.g. '^^f9' (or something along this line); which seems to
>me to be a very stange keycode..
Have you tried installing the package latex-ucs and replace latin1 with
utf8?
\inputenc[utf8]{inputenc}
>as far as i can tell, the whole code thing is somehow messed up, and
>vim is using some different keyboard mapping tables then X and the
>console?!?! i already checked xmodmap -pk, but the alphabetic keys
>aren't mapped there.. just the "commandkeys" like backspace.
>
>can anyone help me out on this subject?! is there any command to figure
>out what code which key produces (esp. for vim) as i could then hack my
>own keyboard code mapping thingy for latex?
I believe that keycodes and file encodings are two different things.
Somewhere there is a translation between the two but it's all pretty
much a mystery to me...
Would you mind telling us what your LOCALE settings are?
Please also tell us what kind of behaviour you are after.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus
Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.
One, demonstrations always crash. And two, the probability of them
crashing goes up exponentially with the number of people watching.
-- Steve Jobs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050824/05537689/attachment.sig>
More information about the ubuntu-users
mailing list