Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have heard a lot of positive talk about emacs and I have therefore decided to learn it and start using it. For now, I will mainly be using to write LaTeX documents. I have successfully installed AUCTeX through Homebrew.

I have read that preview-latex should be bundled with AUCTeX but when opening a .tex file in a buffer, I don't have any kind of preview. As far as I can understand, preview-latex should give a second buffer showing a preview of the compiled LaTeX file.

Does anyone have an idea how I can enable this preview?

share|improve this question

2 Answers 2

Once activated, preview-latex and its documentation will be accessible
via its menus (note that preview-latex requires AUCTeX to be loaded).

Your installation can be broken, or AUCTeX not loaded, or... In any case, you should read the "Introduction" section from the manual.

share|improve this answer

No. Preview-latex will preview math expressions in the same buffer. You can "turn it on" in the menus, or by typing C-c C-p C-p which toggles previews at point. It will probably take a bit the first time it's run.

If that doesn't work, you might try adding the following to your .emacs. It's in mine, but I don't think it's actually necessary. It might be a remnant of prehistoric times.

(add-hook 'LaTeX-mode-hook #'LaTeX-preview-setup)
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.