bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double quote in latex mode


From: Lute Kamstra
Subject: Re: double quote in latex mode
Date: Fri, 18 Feb 2005 14:24:11 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"C.M. Klaij" <c.m.klaij@math.utwente.nl> writes:

[...]

> The double quote key in latex mode is not working correctly:
>
> if I use it once I get two accents (``)
>
> if I use it twice, I first get the two accents (``) and these
> are then replaced with the correct double quote (")

This is actually a feature:

,----[ C-h k " ]
| " runs the command TeX-insert-quote
|    which is an interactive compiled Lisp function in `tex'.
| (TeX-insert-quote FORCE)
| 
| Insert the appropriate quote marks for TeX.
| Inserts the value of `TeX-open-quote' (normally ``) or `TeX-close-quote'
| (normally '') depending on the context.  If `TeX-quote-after-quote'
| is non-nil, this insertion works only after ".
| With prefix argument FORCE, always inserts " characters.
`----

Within LaTeX mode, you usually want to insert quotes like `` and ''.
So LaTeX mode binds these insertions to the " key.  The quote " is
still available by pressing the " key twice.  You can change this
behavior by setting TeX-quote-after-quote to t.

Lute.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]