all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Coenvh <coenvanhasselt@gmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: emacs + auctex - opening output PDF inside emacs buffer
Date: Tue, 4 May 2010 01:09:57 -0700 (PDT)	[thread overview]
Message-ID: <28444342.post@talk.nabble.com> (raw)
In-Reply-To: <87tyqo7cke.fsf@telefonica.net>


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!!

Thanks

Coen


Óscar Fuentes wrote:
> 
> Coenvh <coenvanhasselt@gmail.com> writes:
> 
>> I am using Emacs 23 together with AUCtex on Ubuntu 9.10.
>>
>> When I generate the output PDF file using C-c C-c, the default suggested
>> view command is "xdg-open test.pdf". A new window then opens with my PDF
>> output file.
>>
>> I know Emacs can also open PDF inside a buffer. 
>>
>> Can somebody explain how I can setup Emacs that when I generate my Latex
>> output using C-c C-c, the output automatically opens inside a second
>> Emacs
>> buffer (split screen) ?
>>
>> I have seen people do this, but I do not manage to figure out how.
> 
> Try starting the emacs server (M-x server-start or put (server-start) in
> your .emacs) and confige AUCtex for using `emacsclient -n' instead of
> `xdg-open'. The later can be achieved putting this on your .emacs:
> 
> (setq TeX-output-view-style
>       (cons (list "^pdf$" "." "emacsclient -n %o")
>             TeX-output-view-style))
> 
> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/emacs-%2B-auctex---opening-output-PDF-inside-emacs-buffer-tp28435081p28444342.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





  reply	other threads:[~2010-05-04  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03 13:17 emacs + auctex - opening output PDF inside emacs buffer Coenvh
2010-05-04  0:09 ` Óscar Fuentes
2010-05-04  8:09   ` Coenvh [this message]
2010-05-04 13:50     ` Óscar Fuentes
2010-05-04 14:43 ` Erik Iverson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28444342.post@talk.nabble.com \
    --to=coenvanhasselt@gmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.