Hi Uwe, 2014-08-13 11:11 GMT+02:00 Uwe Brauer <o...@mat.ucm.es>: > Hi > > I sometimes want to use the german quotes such as > „ ” “ mostly in LaTeX mode: > > (Using for example > \usepackage[german]{babel} > \usepackage[utf8x]{inputenc} > ) > > So I added to the quail package latin-pre the following entries > > > > (quail-define-package > "german-prefix" "Latin-1" "DE>" t > "German (Deutsch) input method with prefix modifiers > Key translation rules are: > \"A -> Ä -> \"O -> Ö, \"U -> Ü, \"s -> ?ß \"' -> ” \"` -> „ \"\" -> “ > " nil t nil nil nil nil nil nil nil nil t) > > (quail-define-rules > ("\"A" ?Ä) > ("\"O" ?Ö) > ("\"U" ?Ü) > ("\"a" ?ä) > ("\"o" ?ö) > ("\"u" ?ü) > ("\"`" ?„) > ("\"'" ?”) > ("\"\"" ?“) > ("\"s" ?ß) > ("\" " ?\") > ) > > > The work well in fundamental mode, but as I found out not correctly > in a LaTeX mode. > > The double " " --> lead to ¨ > now I just realized that this also happens in mail and in text mode so > maybe the culprit is something else. In any case I would appreciate any > comment on this issue.
If there is "\usepackage[german]{babel}" in the preamble, pressing the " key twice gives me "`foo"', which in the output becomes „foo“, is this what you want? You can customize `TeX-quote-language-alist' to get the same result by pressing " only once. Bye, Mosè _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel