[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] csquotes-options doesn't take precedence over language-
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] csquotes-options doesn't take precedence over language-specific ones |
Date: |
Sun, 20 Mar 2011 18:01:54 +0100 |
* Anders Johansson (2011-03-14) writes:
> I use the package csquotes and tried to use the options:
> LaTeX-csquotes-open-quote, LaTeX-csquotes-close-quote.
>
> I followed the instructions here:
> http://lists.gnu.org/archive/html/auctex/2006-12/msg00009.html
>
> Nothing changed as I changed the values of LaTeX-csquotes-open-quote and
> LaTeX-csquotes-close-quote, but than I realized that it worked if I
> didn't use babel (I was writing in Swedish).
>
> Hence it looks like the language-specific quote characters take
> precedence over the csquotes ones. Not what's expected and not what is
> stated in the manual:
This is working fine here with development versions of Emacs and AUCTeX
and the following sample file:
\documentclass{article}
\usepackage{csquotes}
\usepackage[swedish]{babel}
\begin{document}
»foo«
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
The variables are set through Customize, hence the following settings
are found in the init file:
(custom-set-variables
[...]
'(LaTeX-csquotes-close-quote "«")
'(LaTeX-csquotes-open-quote "»")
[...]
After opening the above file, `C-h v TeX-quote-language <RET>' results
in the following:
TeX-quote-language is a variable defined in `tex.el'.
Its value is (override "»" "«" nil)
[...]
What's the result in your case if you do this with the sample file
opened? You might have to type `C-c C-n' before in order to force the
file to be parsed.
> Emacs : GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0)
> of 2010-11-26 on vernadsky, modified by Debian
> Package: 11.86
Is this the package provided by Debian?
--
Ralf