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\<[EMAIL PROTECTED]
\WithSuffix\def\<<[EMAIL PROTECTED]

\protected\def\>[EMAIL PROTECTED]
\WithSuffix\def\>>[EMAIL PROTECTED]

\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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to