[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] 2007-05-25; \documentclass options like version=2.97a preve
From: |
Christian Schlauer |
Subject: |
[Bug-AUCTeX] 2007-05-25; \documentclass options like version=2.97a prevent parsing |
Date: |
Tue, 19 Jun 2007 20:51:01 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Dear AUCTeX developers,
The KOMA-Script letter class scrlttr2 (the other classes, too,
actually, since version 2.96a) has a class option `version' that can
be
version={first,2.96a,last}
and that allows to typeset the document according to that version of
KOMA-Script. In scrlttr2, omitting this means version=first which is
an alias for version=2.9t. So the default is conservative, and in
order to use the new page-break mechanisms (or whatever ...), one has
to supply version=<the version of KOMA-Script currently used> or
version=last -- the latter simply uses the newest version.
Now the problem is that if a `floating point version number' is
specified, the file scrlttr2.elc is not loaded, which means that C-c
C-e lett TAB does not offer the letter environment.
Please try the following example -- by commenting/uncommenting the
respective `version=' line, closing and starting emacs and checking
the *Messages*-buffer, you should be able to see the problem.
--8<---------------cut here---------------start------------->8---
\documentclass[%
version=last]{scrlttr2} % C-h e -> scrlttr2.elc gets loaded
% version=2.97a]{scrlttr2} % C-h e -> scrlttr2.elc is *not* loaded
\begin{document}
Foo.
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---
Emacs : GNU Emacs 22.1.1 (i686-pc-linux-gnu, GTK+ Version 2.10.11)
of 2007-06-06 on whisker
Package: 2007-05-25
current state:
==============
(setq
AUCTeX-date "2007-05-25"
window-system 'x
LaTeX-version "2e"
TeX-style-path [snipped]
TeX-auto-save nil
TeX-parse-self t
TeX-master t
TeX-command-list [snipped]
)
- [Bug-AUCTeX] 2007-05-25; \documentclass options like version=2.97a prevent parsing,
Christian Schlauer <=