working with Automatic Customization and auto filling

Jobst Hoffmann <[email protected]>
Newsgroups gmane.emacs.auc-tex
Organization Fachhochschule Aachen, Abt. Jülich
Message-ID <[email protected]>
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

1. I'm wondering why there is a dependance of creating .el-files
in ./auto:

Automatic customization of a LaTeX-file auto_tst.tex (shown below)
doesn't work like it's announced in the manual. There is no texpower-
entry in the ./auto/auto_tst.el file and therefore I have to type all
macros from texpower by myself. If I'm changing the usepackage command
to the other (out commented) way, all works like expected. Any hints?

---------------------------------------------8< begin snap ------
documentclass[12pt,a4paper]{article}

\usepackage[a,\b]{texpower}     % no entries in ./auto/auto_tst.el
%\usepackage[a,b]{texpower}     % correct entries in ./auto/auto_tst.el

\begin{document}

\begin{figure}[htb]
\centering%
\includegraphics{abc}
\ifvop{%
\caption{abc}%
\label{fig:abc}%
}{}%
\end{figure}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% mode: flyspell
%%% TeX-master: true
%%% End: 
---------------------------------------------8< end snap ------


2. Just FYI: the result of TeX-auto-generate depends on the loaded
XEmacs packages. In a minimum set up like shown below the results are ok
but in my standard setup the results are missing some entries - I'll
have to investigate it further

3. auto filling the above shown figure environment with point after
[htb] leads to the following result:

\begin{figure}[htb]
    \centeri
ng%
\includegraphics{abc}
\ifvop{%
\caption{abc}%
\label{fig:abc}%
}{}%
\end{figure}


XEmacs set up (from Report AUCTeX Bug):

---------------------------------------------8< begin snap ------
Emacs  : XEmacs 21.4 (patch 16) "Corporate Culture" [Lucid] (i686-pc-
linux) of Tue Dec 21 2004 on thinktwiceIV.phytech.fh-aachen.de
Package: AUCTeX 11.55

current state:
==============
(setq
window-system 'x
LaTeX-version "2e"
TeX-style-path '("~/.xemacs/xemacs-packages/lisp/auctex/style/" "auto/"
  "/opt/local/share/texmf/support/auctex/" "/opt/local/var/auctex/")
TeX-auto-save t
TeX-parse-self t
TeX-master 'true
)
---------------------------------------------8< end snap ------
Happy AUCTeXing!

-- 
Prof. Dr. Jobst Hoffmann            Tel:   (0049)-2461-99-3159
Fachhochschule Aachen Abt. JÃŒlich   Fax:   (0049)-2461-99-3189
Fachbereich 3                       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.