[EMAIL PROTECTED] (Roman Kennke) writes:
> Ich benutze eben diese Kombi um Latex Files zu erstellen. Da gibts ein
> kleines �rgernis: immer wenn ich " tippe kommt '' oder `` bei raus. Mag
In TeX gehen Umlaute mit:
\usepackage{german}
\usepackage[latin1]{inputenc}
> ja nett sein f�r englischsprachige Umgebungen, aber wenn man mal "a oder
> "s braucht wird man fast bl�de ein " aus Emacs rauszubekommen. Kann man
> das irgendwo abstellen (Ich bin nicht gerade der Emacs/Lisp Hacker, wie
> man sieht)?
Mit diesem Problem bin ich zum ersten mal mit
Lisp in Kontakt gekommen... und habs bis heute
nicht verstanden.
Dazu suchst Du die tex-mode.el und kommentierst
ein bissl rum (vorher die tex-mode.el und
tex-mode.elc kopieren!):
;;; 2 Bloecke komplett raus fuer dt.
;;;###autoload
;;; (defcustom tex-open-quote "``"
;;; "*String inserted by typing \\[tex-insert-quote] to open a quotation."
;;; :type 'string
;;; :group 'tex)
;;;
;;;###autoload
;;; (defcustom tex-close-quote "''"
;;; "*String inserted by typing \\[tex-insert-quote] to close a quotation."
;;; :type 'string
;;; :group 'tex)
[...]
;;; (define-key map "\"" 'tex-insert-quote)
[...]
;;; Block raus fuer dt.
;;; (defun tex-insert-quote (arg)
;;; "Insert the appropriate quote marks for TeX.
;;; Inserts the value of `tex-open-quote' (normally ``) or `tex-close-quote'
;;; \(normally '') depending on the context. With prefix argument, always
;;; inserts \" characters."
;;; (interactive "*P")
;;; (if arg
;;; (self-insert-command (prefix-numeric-value arg))
;;; (insert
;;; (cond ((= (preceding-char) ?\\) ?\")
;;; ((memq (char-syntax (preceding-char)) '(?\( ?> ?\ )) tex-open-quote)
;;; (t tex-close-quote)))))
Danach noch ein M-x byte-compile
und dann testen, da ich das hier
aus meiner Erinnerung gemacht habe,
und die Maschine ist zur Zeit nicht
verf�gbar.
Frank
--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)