Julien Cubizolles <[email protected]> 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.
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex