[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs + auctex - opening output PDF inside emacs buffer
From: |
Óscar Fuentes |
Subject: |
Re: emacs + auctex - opening output PDF inside emacs buffer |
Date: |
Tue, 04 May 2010 15:50:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Coenvh <coenvanhasselt@gmail.com> writes:
> I got it to work except for one thing.
>
> If I press C-c C-v, the PDF opens inside emacs.
>
> However, I would like the PDF to open in the second split-screen buffer, so
> that I can have the TeX code *beside* the PDF output. Currently the PDF
> opens in the same location as where my TeX code used to be.
>
> Any advise on how I can make the PDF output open next to the TeX code would
> be highly appreciated!!
Try using this setting for TeX-output-view-style:
(setq TeX-output-view-style
(cons (list "^pdf$" "."
"emacsclient -n -e '(find-file-other-window \"%o\")'")
TeX-output-view-style))