auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] dvipng is not called by auctex


From: David Kastrup
Subject: Re: [AUCTeX] dvipng is not called by auctex
Date: Wed, 03 Jul 2013 22:22:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Faheem Mitha <address@hidden> writes:

> I'm using Debian squeeze with TeX Live 2009, auctex 11.87-1, and
> 1.13-1. The latter three are all Debian packages.
>
> I noticed that even though I have specified preview-image type as
> dvipng, dvipng is not being used. Can you tell me what I'm doing
> wrong? The lines relevant to preview in my .emacs are
>
> '(preview-auto-cache-preamble t)
> '(preview-image-type (quote dvipng))
>
> I include below the result of M-x preview-report-bug.

[...]

> Running `Preview-LaTeX' on `foo' with ``pdflatex -ini 
> -interaction=nonstopmode "&pdflatex" prv_foo.ini   
> "\nonstopmode\nofiles\PassOptionsToPackage{active,tightpage,auctex}{preview}\AtBeginDocument{\ifx\ifPreview\undefined\RequirePackage[displaymath,floats,graphics,textmath,sections,footnotes]{preview}[2004/11/05]\fi}"
>  "\input" foo.tex''
> This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (INITEX)
> entering extended mode

[...]

> Preview-LaTeX exited as expected with code 1 at Thu Jul  4 00:57:26
> Running `Preview-PDF2DSC' with ``pdf2dsc foo.pdf 
> foo.prv/tmp2821esH/preview.dsc''
>
> Preview-PDF2DSC finished at Thu Jul  4 00:57:27
> Running `Preview-Ghostscript' with ``gs 
> -dOutputFile\=\(foo.prv/tmp2821esH/pr1-\%d.png\) -q -dDELAYSAFER -dNOPAUSE 
> -DNOPLATFONTS -dPrinted -dTextAlphaBits\=4 -dGraphicsAlphaBits\=4 
> -sDEVICE\=png16m -r144.162x144.422''

You are obviously in TeX-PDF-mode.  There is no DVI file being
generated, so there is nothing that dvipng could be run on.
Try C-c C-t C-p to switch off TeX-PDF-mode (if your file actually
permits being compiled by normal TeX), then try previewing again.

-- 
David Kastrup



reply via email to

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