[Top][All Lists]

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

Re: [Bug-AUCTeX] 11.85; not handling pdflatex

From: David Kastrup
Subject: Re: [Bug-AUCTeX] 11.85; not handling pdflatex
Date: Thu, 08 Oct 2009 10:49:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

"Peter N. Saeta" <address@hidden> writes:

> Remember to cover the basics.  Including a minimal LaTeX example
> file exhibiting the problem might help.
> Preview worked in the previous version of Aquamacs Emacs. I believe it
> was producing png images for embedding in the buffer. I updated to
> Aquamacs, and find that preview creates a pdf file with all the
> images, but when it goes to extract the images from the file and
> insert them in the document, it appears to look in the wrong place for
> them. Perhaps there is enough information included here to help me
> troubleshoot this problem. If not, is there a more thorough
> description of the places to look somewhere? Thanks.

Stuff here is _very_ fishy.

> Emacs  : GNU Emacs 23.1.1 (i386-apple-darwin9.7.0, NS apple-appkit-949.46)
> of 2009-08-06 on braeburn.aquamacs.org - Aquamacs Distribution 2.0preview2
> Package: 11.85
> Run buffer contents:
> Running `Preview-LaTeX' on `hw05' with ``pdflatex -ini 
> -interaction=nonstopmode
> "&pdflatex" prv_hw05.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" hw05.tex''
> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (INITEX)

Up to here: running pdflatex.

> ./_region_.tex:335: Preview: Snippet 99 ended.(427700+12199x1396883).
> <-><->
> l.335 > 0$
>           .
> [99]
> Output written on _region_.pdf (99 pages, 787304 bytes).
> Transcript written on _region_.log.
> Preview-LaTeX exited as expected with code 1 at Wed Oct  7 20:38:58
> Running `Preview-DviPS' with ``dvips -Pwww _region_.dvi -o _region_.prv/
> tmp16658JXJ/preview.ps''

Bang: dvips is being run?  Why would that happen?  We have no dvi file.

> Parser: End of Preview snippet 1 unexpected

The parser has problems recognizing snippet 1?  Why does this happen?

> This is dvips(k) 5.97 Copyright 2008 Radical Eye Software (www.radicaleye.com)
> dvips: ! DVI file can't be opened.

Obviously.  There is none.

> current state:
> ==============
> (setq
> AUCTeX-version "11.85"


Pretty normal settings.

It would appear that something throws your system into DVI mode and
things go downhill from there.  Or earlier.

You don't have old versions of preview-latex or AUCTeX partly loaded?
You could try checking with

M-x list-load-path-shadows RET

David Kastrup

reply via email to

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