auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Can't get output-pdf to find a match


From: Julien Cubizolles
Subject: Re: [AUCTeX] Can't get output-pdf to find a match
Date: Wed, 14 Dec 2011 11:26:25 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux)

Julien Cubizolles <address@hidden> writes:

> I'm compiling file.tex through C-c C-c. I'm using rubber as my
> compile command so i get a file.dvi and a file.pdf. I can't get
> the View command to use the pdf file instead of the dvi file. The
> reason seems to be that the output-pdf predicate doesn't find a
> match.

I was confused about the way a viewer is chosen. Since I'm compiling
through latex->dvips->ps2pdf the TeX-output-extension is dvi. So now I
do :
,----
| (setq TeX-view-program-selection (quote ((output-dvi "rubberpdf"))))
| (setq TeX-view-program-list '(("rubberpdf"
|   ("evince"
|    (mode-io-correlate " -p %(outpage)")
|    " %s.pdf"))))
`----
and it works.

Julien.




reply via email to

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