From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: emacs + auctex - opening output PDF inside emacs buffer Date: Tue, 04 May 2010 15:50:26 +0200 Message-ID: <87ocgv7p3x.fsf@telefonica.net> References: <28435081.post@talk.nabble.com> <87tyqo7cke.fsf@telefonica.net> <28444342.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1272981608 31117 80.91.229.12 (4 May 2010 14:00:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 May 2010 14:00:08 +0000 (UTC) Cc: Coenvh To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 04 16:00:06 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O9IfO-0007zh-5j for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 16:00:06 +0200 Original-Received: from localhost ([127.0.0.1]:41464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9IfN-0007Np-4X for geh-help-gnu-emacs@m.gmane.org; Tue, 04 May 2010 10:00:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9IWU-0003Gt-CQ for help-gnu-emacs@gnu.org; Tue, 04 May 2010 09:50:54 -0400 Original-Received: from [140.186.70.92] (port=53148 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9IWS-0003Fa-H3 for help-gnu-emacs@gnu.org; Tue, 04 May 2010 09:50:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9IWR-0004Na-DI for help-gnu-emacs@gnu.org; Tue, 04 May 2010 09:50:52 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59675) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9IWR-0004Mz-6s for help-gnu-emacs@gnu.org; Tue, 04 May 2010 09:50:51 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O9IWG-0002Qr-Pi for help-gnu-emacs@gnu.org; Tue, 04 May 2010 15:50:40 +0200 Original-Received: from 83.40.116.128 ([83.40.116.128]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2010 15:50:40 +0200 Original-Received: from ofv by 83.40.116.128 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2010 15:50:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 20 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.40.116.128 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:fE2xz0QGnX1v6cbHdcRPeencB0w= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72890 Archived-At: Coenvh 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))