[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Quoting problems.
From: |
David Kastrup |
Subject: |
[AUCTeX-devel] Quoting problems. |
Date: |
Tue, 25 Jul 2006 12:40:27 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Hi,
in font-latex.el we have:
(defcustom font-latex-quotes 'auto
"Whether to fontify << French quotes >> or >>German quotes<<.
Also selects \"<quote\"> versus \">quote\"<.
If value `auto' is chosen, an attempt is being made in deriving
the type of quotation mark matching from document settings like
the language option supplied to the babel package."
:type '(choice (const auto) (const french) (const german))
:group 'font-latex)
(put 'font-latex-quotes 'safe-local-variable
'(lambda (x) (memq x '(auto french german))))
Why is there no setting "nil"?
Anyway, I got to dig around with this because fontifying goes all
haywire in a class file which has:
[...]
\protected\def\<address@hidden
\WithSuffix\def\<<address@hidden
\protected\def\>address@hidden
\WithSuffix\def\>>address@hidden
\WithSuffix\def\->{\ensuremath{\to}}
\let\auflage\textsuperscript
[...]
Starting from the \WithSuffix\def\>>, everything goes haywire in
quotation font. Why? "<" is not a quotation mark, and \<< is not the
same as "<<". We don't interpret things like \` and \' as quotation
marks, hopefully. Or do we?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- [AUCTeX-devel] Quoting problems.,
David Kastrup <=