From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giovanni Lanzani Newsgroups: gmane.emacs.help Subject: Re: Synctex with auctex and Skim Date: Sun, 26 Jul 2009 14:26:20 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4e87ff03-2c83-4d8c-bbf4-31ee18ee3753@c1g2000yqi.googlegroups.com> <2009072306240016807-tsd@tsdyecom> <1a5531a9-71bc-4157-bd7c-b6cd0cab09ea@g31g2000yqc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248644441 14677 80.91.229.12 (26 Jul 2009 21:40:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jul 2009 21:40:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 26 23:40:34 2009 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.50) id 1MVBSL-0000WT-Vz for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2009 23:40:34 +0200 Original-Received: from localhost ([127.0.0.1]:38246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVBSL-0005rk-4q for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Jul 2009 17:40:33 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!18g2000yqa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 73 Original-NNTP-Posting-Host: 82.170.39.193 Original-X-Trace: posting.google.com 1248643589 23067 127.0.0.1 (26 Jul 2009 21:26:29 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sun, 26 Jul 2009 21:26:29 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 18g2000yqa.googlegroups.com; posting-host=82.170.39.193; posting-account=01cJgAoAAABsrO-6gxIr5yJThcciW6rX User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.19.2 (KHTML, like Gecko) Version/4.0.2 Safari/530.19, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171223 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:66409 Archived-At: Just to be more clear: if Carbon Emacs is running and I invoke emacsclient from the command line, it jumps to the requested file. But if I compile a LaTeX file and open Skim, the sync does not work between Carbon Emacs and Skim. But if I close Carbon Emacs and run Aquamacs, from Skim the sync works. Therefore the 2 conditions you talked about are fulfilled: synctex is invoked (it works with Aquamacs, without recompiling) and emacsclient can invoke files in Carbon Emacs. On Jul 26, 6:55=A0pm, Giovanni Lanzani wrote: > Hi Tom, > > thanks for the reply. > > I already invoke latex with thesynctexoption, but for 2) (start the > server sosynctexcan use emacsclient), what should I do? Use M-x > server-start? Because doing just so doens't work. > > And no, I don't need to jump from LaTeX to the pdf, just from the pdf > to LaTeX. > > Thanks for your time and patience, > > Giovanni > > On Jul 23, 6:24=A0pm, Tom Dye wrote: > > > > > On 2009-07-20 09:05:46 -1000, Giovanni Lanzani s= aid: > > > > Hi there, > > > > I'm using the CVS version of Emacs.app and I would like to usesynctex > > > from Skim.app with Emacs.app (+ Auctex loaded). However it doesn't > > > work (while it does with Aquamacs). Has anyone any clue about this > > > issue? In the TeX on Mac OS X wiki (http://mactex-wiki.tug.org/wiki/ > > > index.php?title=3DSyncTeX) it is reported thatsynctexshould work with > > > Carbon Emacs. Are there modifications in Carbon Emacs which could > > > explain the syncing between pdf and .tex to work inside it and not to > > > work in the vanilla version of Emacs.app? > > > > Thanks, > > > > Giovanni > > > Giovanni, > > > From what I understand, you should be able to achieve in Emacs what > > Carbon Emacs does withsynctex. =A0If I remember correctly, there are tw= o > > things to do: 1) configure Emacs so the latex command invokessynctex, > > and 2) start the server sosynctexcan use emacsclient to get back to > > the running instance of Emacs. =A0These steps are fully documented and > > you should be able to find them. =A0These steps let you jump from a pdf > > file back into the LaTeX document, but not from the LaTeX document to > > the pdf file. > > > I believe that the ability to jump from the LaTeX file to the pdf file > > in Aquamacs is due to some code written expressly for Aquamacs. > > > HTH, > > Tom > > > -- > > Tom Dye > > T. S. Dye & Colleagues, Archaeologists, Inc. > > Honolulu, Hawai`i