Re: need typewriter-style quotes in LaTeX mode of emacs
* Andrew Perrin <clists@perrin.socsci.unc.edu> [070524 20:49]:
> On Thu, 24 May 2007, Russell L. Harris wrote:
>
>> The XEmacs implementation which I am running appears to differ from
>> the implementation which you are running.
>>
>> When in LaTeX mode, the first press of " produces a contiguous pair of
>> single left-quotes: `` and the second press of " produces a contiguous
>> pair of single right-quotes: ''
>
> Are you not running AucTeX mode? You should be. apt-get install auctex .
>
>>
>> But this is a standard feature of Emacs/XEmacs LaTeX mode which most
>> of us take for granted, because in most applications printer's quotes
>> are desired, and pressing " at the beginning and end of the quotation
>> is easier than pressing ` twice and the beginning and ' twice at the
>> end.
>
> That's why the first press gives you the appropriate typeset quote (`` or
> '', respectively). The second press in the same spot changes it to a
> typewriter quote ("), again based on AucTeX.
Auctex is installed (11.83-6). This is a recent (less than two month
old) installation of Debian Lenny ("testing") via netinstall, kept up
to date with snaptic. TeX is via TeXLive.
When a LaTeX document is loaded, XEmacs automatically selects the
following modes: latex-mode, font-lock-mode, auto-fill mode. There
appears to be no such thing as auctex-mode. Turning off
font-lock-mode does not change the behaviour.
As I previously stated, in latex mode, multiple presses of the " key
(which is shift-') result in a pair of left-quotes (``) followed by
pairs of right quotes ('').
What do you mean, "in the same spot"? Each keypress advances the
cursor. Using the cursor-movement keys to back up the cursor does not
produce a " character.
RLH
Reply to: