Hi,

I have  two questions on auto completion functionality. I want to use
TeX-insert-macro.
As recommended in the manual, I set
(setq TeX-parse-self t)
(setq TeX-auto-save t)
to have my files parsed. However, I ran into two problems.

1. I have a file macros.tex that I include via \input{}
The autogenerated macros.tex looks as follows:
(TeX-add-style-hook "macros"
 (lambda ()
    (TeX-add-symbols
     "axis"
     "bull")))
So the scanner only recognized only two macro definitions in the file, and
those two were defined using \def and \newdimen. It ignores all the
\newcommand{}{}.
Does anybody have an idea how to fix this?

2. basic symbols like \alpha are not completed.
I searched through the file system and found that the relevant *.el files
for the packages are in
/usr/share/emacs/site-lisp/auctex/style. However, rgrep showed that the
basic greek letters are not contained in any file. This makes it difficult
to use the electric-escape functionality since every time i want to write a
macro that auctex doesn't know about, it complains and i have to abort the
command. How do you deal with this? is anybody using electric-escape?

Thanks in advance,

Jonas
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to