bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] 11.86; preview confused by beamer+xelatex


From: Ralf Angeli
Subject: Re: [Bug-AUCTeX] 11.86; preview confused by beamer+xelatex
Date: Sun, 27 Mar 2011 17:16:21 +0200

* Giacomo Boffi (2011-03-25) writes:

> Emacs  : XEmacs 21.5  (beta29) "garbanzo" f5a5501814f5 [Lucid] 
> (i686-pc-linux, Mule) of Tue Feb 22 2011 on aiuole
> Package: 11.86 (preview.el was patched against gs new features)
>
> i expect that running C-c C-p C-d on my test file make preview-latex
>
>   1e. use xelatex to produce a pdf file
>   2e. use pdf2dsc to produce a postscript file
>   3e. etc
>
> what preview-latex does is
>
>   1. use xelatex to produce a pdf file
>   2. use dvips to produce a ps file
>   3. stop in error as no dvi is in the offing

It looks like the document class or some package sets \pdfoutput.  There
is even a warning about this by the ifpdf package in the log.  If
\pdfoutput is set, preview.sty assumes that PDFLaTeX is used.  It then
checks the value of \pdfoutput in order to find out if PDF output is
produced.  In your example the value is 0, so preview.sty comes to the
conclusion that DVI output is produced.  And that's why preview-latex
then calls dvips.

I didn't look by whom \pdfoutput is set to 0, but this looks a bit
fishy.  Do you happen to know where and why this is done?

In any case, either the document class or some package loads hyperref
and recent versions of it are incompatible with preview.sty.  So even if
we can get rid of the \pdfoutput problem, you won't have much joy with
this combination.

-- 
Ralf



reply via email to

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