0

When using the preview command in the auctex editor on a latex file, no pictures are actually displayed, and no error output in the log.

I checked that there does exists the "_region_.pdf" file, where all the formulas in the document are correctly converted. The only problem is that they doesn't show up in the document.

Here is the "_region_.log" file:

This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017/Debian) (preloaded format=prv_main 2019.5.12)  12 MAY 2019 12:01
entering extended mode
 restricted \write18 enabled.
 file:line:error style messages enabled.
 %&-line parsing enabled.
**&prv_main /AUCTEXINPUT{ _region_.tex }
(./_region_.tex
No file _region_.aux.
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for TS1/cmr/m/n on input line 26.
LaTeX Font Info:    Try loading font information for TS1+cmr on input line 26.
(/usr/share/texlive/texmf-dist/tex/latex/base/ts1cmr.fd
File: ts1cmr.fd 2014/09/29 v2.5h Standard LaTeX font definitions
)
LaTeX Font Info:    ... okay on input line 26.
LaTeX Font Info:    Checking defaults for PD1/pdf/m/n on input line 26.
LaTeX Font Info:    ... okay on input line 26.
 (/home/me/.emacs.d/elpa/auctex-12.1.2/latex/preview.sty
Package: preview 2017/04/24 12.1 (AUCTeX/preview-latex)
 (/usr/share/texlive/texmf-dist/tex/generic/luatex85/luatex85.sty
Package: luatex85 2016/06/15 v1.4 pdftex aliases for luatex
) (/home/me/.emacs.d/elpa/auctex-12.1.2/latex/prtightpage.def
\PreviewBorder=\dimen124
) (/home/me/.emacs.d/elpa/auctex-12.1.2/latex/prauctex.def
No auxiliary output files.


\hbadness=\count118
\hfuzz=\dimen125
(/home/me/.emacs.d/elpa/auctex-12.1.2/latex/prauctex.cfg)) (/home/me/.emacs.d/elpa/auctex-12.1.2/latex/prfootnotes.def)
\pr@snippet=\count119
\pr@box=\box39
\pr@output=\toks28

Preview: Fontsize 10.95pt
Preview: PDFoutput 1
) (/usr/share/texlive/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count120
\scratchdimen=\dimen126
\scratchbox=\box40
\nofMPsegments=\count121
\nofMParguments=\count122
\everyMPshowfont=\toks29
\MPscratchCnt=\count123
\MPscratchDim=\dimen127
\MPnumerator=\count124
\makeMPintoPDFobject=\count125
\everyMPtoPDFconversion=\toks30
) (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
Package: epstopdf-base 2016/05/15 v2.6 Base part for package epstopdf
 (/usr/share/texlive/texmf-dist/tex/latex/oberdiek/grfext.sty
Package: grfext 2016/05/16 v1.2 Manage graphics extensions (HO)
)
Package epstopdf-base Info: Redefining graphics rule for `.eps' on input line 438.
Package grfext Info: Graphics extension search list:
(grfext)             [.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2,.eps]
(grfext)             \AppendGraphicsExtensions on input line 456.
 (/usr/share/texlive/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg
File: epstopdf-sys.cfg 2010/07/13 v1.3 Configuration of (r)epstopdf for TeX Live
))
\AtBeginShipoutBox=\box41
Package hyperref Info: Link coloring OFF on input line 26.
 (/usr/share/texlive/texmf-dist/tex/latex/hyperref/nameref.sty
Package: nameref 2016/05/21 v2.44 Cross-referencing by name of section
 (/usr/share/texlive/texmf-dist/tex/generic/oberdiek/gettitlestring.sty
Package: gettitlestring 2016/05/16 v1.5 Cleanup title references (HO)
)
\c@section@level=\count126
)
LaTeX Info: Redefining \ref on input line 26.
LaTeX Info: Redefining \pageref on input line 26.
LaTeX Info: Redefining \nameref on input line 26.
  !name(main.tex) !offset(-3) 
./_region_.tex:32: Preview: Snippet 1 started.
<-><->

l.32 \tableofcontents

Not a real error.

Preview: Tightpage -32891 -32891 32891 32891
./_region_.tex:32: Preview: Snippet 1 ended.(651269+0x23592960).
<-><->

l.32 \tableofcontents

Not a real error.

[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]
./_region_.tex:38: Preview: Snippet 2 started.
<-><->

l.38 $
      \frac{1}{\sqrt{2\pi}\sigma}$
Not a real error.

./_region_.tex:38: Preview: Snippet 2 ended.(620424+411533x1575887).
<-><->

l.38 $\frac{1}{\sqrt{2\pi}\sigma}$

Not a real error.

[2]
./_region_.tex:40: Preview: Snippet 3 started.
<-><->

l.40 \begin{equation}

Not a real error.

./_region_.tex:42: Preview: Snippet 3 ended.(813539+0x23592960).
<-><->

l.42 \end{equation}

Not a real error.

[3]
./_region_.tex:44: Preview: Snippet 4 started.
<-><->

l.44 \begin{eqnarray}

Not a real error.

./_region_.tex:47: Preview: Snippet 4 ended.(1805516+0x23592960).
<-><->

l.47 \end{eqnarray}

Not a real error.

[4]
Package atveryend Info: Empty hook `BeforeClearDocument' on input line 48.
Package atveryend Info: Empty hook `AfterLastShipout' on input line 48.
Package atveryend Info: Executing hook `AtVeryEndDocument' on input line 48.
Package atveryend Info: Empty hook `AtEndAfterFileList' on input line 48.
Package atveryend Info: Empty hook `AtVeryVeryEnd' on input line 48.
 ) 
Here is how much of TeX's memory you used:
 760 strings out of 485787
 11952 string characters out of 6037801
 185847 words of memory out of 5000000
 11362 multiletter control sequences out of 15000+600000
 18662 words of font info for 54 fonts, out of 8000000 for 9000
 1141 hyphenation exceptions out of 8191
 30i,12n,26p,197b,325s stack positions out of 5000i,500n,10000p,200000b,80000s
{/usr/share/texmf/fonts/enc/dvips/cm-super/cm-super-t1.enc}</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi8.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr8.pfb></usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy8.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfbx1440.pfb></usr/share/texmf/fonts/type1/public/cm-super/sfrm1095.pfb>
Output written on _region_.pdf (4 pages, 62405 bytes).
PDF statistics:
 52 PDF objects out of 1000 (max. 8388607)
 38 compressed objects within 1 object stream
 3 named destinations out of 1000 (max. 500000)
 1 words of extra memory for PDF output out of 10000 (max. 10000000)

Furthermore, if I run the preview command again, the "_region_.pdf" file is gone and emacs pops a error message that the preview-PDF2DSC can't find the file "region.prv/tmp236511qC/preview.dsc"

So what can I do?

Preview errors in auctex with latex documents

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.