auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] address@hidden: Auctex preview mode can't be activate


From: Ralf Angeli
Subject: Re: [AUCTeX-devel] address@hidden: Auctex preview mode can't be activated by Emacs automatically.]
Date: Sat, 09 Dec 2006 09:22:17 +0100

* Hongyi Zhao (2006-12-09) writes:

>> > I find that the preview mode can't be activated automatically, while other
>> > minor modes can.
>> 
>> preview-latex is not a minor mode.  How are you trying to activate it?
>
> Oh, thank you.  Now I want the preview-latex can be autoloaded on the
> Emacs's menu-bar, so I put the following into my .emacs:
>
> ===================
> (add-to-list 'load-path
> "~/EmacsConfigureRelative/MyEmacsLispFiles/auctex/style")
> (add-hook 'LaTeX-mode-hook #'LaTeX-preview-setup)
> (autoload 'LaTeX-preview-setup "preview")

Please remove _all_ of this again from your .emacs file.  It's wrong
and will most certainly lead to problems.

> But when I open a tex source file with Emacs, the Preview menu-bar will not
> be autoloaded. 

Why don't you just use the method of activating preview-latex
described in the manual?

See (info "(auctex)Loading the package") <-- Type `C-x C-e' here.

-- 
Ralf




reply via email to

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