[Top][All Lists]

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

[AUCTeX] Re: Behaviour of TeX-insert-quote

From: Seweryn Kokot
Subject: [AUCTeX] Re: Behaviour of TeX-insert-quote
Date: Fri, 03 Oct 2008 09:09:14 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Seweryn Kokot <address@hidden> writes:

> Hello,
> When I have 'polski' package loaded with usepackage{polski} and when
> typing " (TeX-insert-quote) I get literal double quotes " and typing twice " 
> I get ,, which is
> set as TeX-open-quote in .emacs. When no language package is loaded,
> first typing " gives ,, and second " gives literal double quote ".
> Of course I'd like to see the second case also when 'polski'
> package is loaded.

ok, I must modify style/polski.el file to get what I want. I changed
the following line

   ;; Quotation marks
;   (setq TeX-quote-language '("polski" ",," "''" t))


   ;; Quotation marks
   (setq TeX-quote-language
         `("polski" ",," "''" ,TeX-quote-after-quote))

Maybe it is better to update this file in auctex sources, otherwise
TeX-quote-after-quote is hard-coded and cannot be easily modified in
.emacs file?

best regards,

reply via email to

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