auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] Problem with Latex command-completion (M-TAB)


From: Ralf Angeli
Subject: Re: [AUCTeX] Problem with Latex command-completion (M-TAB)
Date: Thu, 10 Sep 2009 18:44:18 +0200

* Ralf (2009-09-10) writes:

> Problem: The Latex complete-command macro (M-TAB) is only recognizing a few
> commands.

Yes, those which were made available with `TeX-add-symbols'.

> Examples:
>
> \secti completes to \section.
>
> \texti fails to complete to \textit, with error message "Can't find completion
> for \texti".  In contrast, the Latex-insert-font macro happily inserts 
> \textit.

`TeX-font' uses a different source of information than
`TeX-complete-symbol'.

> A sample .tex file which illustrates the problem follows:
>
> %%% Local Variables:
> %%% mode: latex
> %%% TeX-master: t
> %%% End:
> \documentclass[10pt]{article}
> \title{A Test Title}
> \author{A Test author}
> \begin{document}
> \maketitle
> \section{Test Section}
>
> The \texti
>
> \end{document}

Uh, the local variables stanza should be placed at the end of the file.

-- 
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]