[Top][All Lists]
[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: |
David Kastrup |
Subject: |
Re: [AUCTeX-devel] address@hidden: Auctex preview mode can't be activated by Emacs automatically.] |
Date: |
Sat, 09 Dec 2006 11:03:32 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) |
Hongyi Zhao <address@hidden> writes:
>> > ===================
>> > (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.
>
> I have removed them.
>
>>
>> > 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.
>
> `C-x C-e` doesn't work on my Emacs, the minibuffer will say:
>
> ================
> End of file during parsing
> ================
Ralf said "<-- Type `C-x C-e' here", meaning that you should put the
cursor right behind the closing parenthesis before typing C-c C-e.
>
> Now, if I want to load the preview-latex, I must use the following method:
>
> ========================
> M-x preview-install-styles
> ========================
Utter nonsense. Please stop digging around in the dark. AUCTeX comes
with a file "INSTALL" which describes what steps to undertake for
installing and activating both AUCTeX and preview-latex. In fact, it
would appear that loading all files in your site-start.d directory
should do the trick, judging from your configure line.
What are the contents of your site-start.el file?
cc
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum