Latex-Preview doesn't work

So I am new to Emacs, and I am trying to get the preview function to work in Tex mode. I keep getting an error and I don't know what is wrong with it. I can make the pdf file fine, it's only the preview option that is not working.

I am running Aquamacs on a Mac and I am trying to preview the following simple file. When I run it, the part I am trying to preview turns into a construction sign.

\documentclass{article} \begin{document} \[x=0\] \end{document} 

and here is what I get

Running `Preview-LaTeX' on `_region_' with ``pdflatex - interaction=nonstopmode "&prv_random" _region_.tex'' This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./_region_.tex LaTeX2e <2015/01/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. CUSTOMISED FORMAT. Preloaded files:     . article.cls    2014/09/29 v1.4h Standard LaTeX document class size10.clo    2014/09/29 v1.4h Standard LaTeX file (size option)     . No file _region_.aux. (/usr/local/texlive/2015/texmf-dist/tex/latex/preview/preview.sty (/usr/local/texlive/2015/texmf-dist/tex/latex/preview/prtightpage.def) (/usr/local/texlive/2015/texmf-dist/tex/latex/preview/prauctex.def No auxiliary output files.   (/usr/local/texlive/2015/texmf-dist/tex/latex/preview/prauctex.cfg)) (/usr/local/texlive/2015/texmf-dist/tex/latex/preview/prfootnotes.def) Preview: Fontsize 10pt Preview: PDFoutput 1 )  !name(random.tex) !offset(-2)  ) No pages of output. Transcript written on _region_.log.  TeX Output finished with nothing to show at Fri Jul 29 16:16:55 LaTeX: LaTeX found no preview images 

Can someone please tell me what is wrong?


Category: emacs Time: 2016-07-29 Views: 10

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.234 (s). 12 q(s)