german keyboard encoding and vim
Ingo Swieter
xhomie.de at gmail.com
Don Aug 25 11:41:20 CDT 2005
Hi Christoph,
i have no idea for your vim problem.
But for the problem with LaTeX you must install the latex-ucs package
because Ubuntu uses UTF.
Furthermore you must change in your tex-file the line with
\usepackage[latin1]{inputenc}
to
\usepackage[utf8x]{inputenc}
Hope that helps,
Ingo
Am Mittwoch, den 24.08.2005, 09:58 +0200 schrieb Christoph Georgi:
> 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..
>
> 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?
>
> thanks,
> christoph
>
> --
>
>
> Christoph Georgi
> -----------------------------
> email. christoph.georgi at web.de
> fon. +49 (0)160 9790 3488
>
> registered linux user #380268
> ubuntu 5.04 (ubuntu.com)
>