From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Brubeck Unhammer Subject: Re: synctex!! ...syncorg? Date: Tue, 31 Aug 2010 16:30:18 +0200 Message-ID: References: <4C7CD6DF.1020303@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=58460 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OqRrE-00081n-Ex for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 10:30:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OqRrD-0002Ye-7o for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 10:30:40 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:37360) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OqRrD-0002YT-4R for emacs-orgmode@gnu.org; Tue, 31 Aug 2010 10:30:39 -0400 Received: by qyk2 with SMTP id 2so7454921qyk.0 for ; Tue, 31 Aug 2010 07:30:38 -0700 (PDT) In-Reply-To: <4C7CD6DF.1020303@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: R.M.Krug@gmail.com Cc: org-mode Mailinglist 2010/8/31 Rainer M Krug : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 31/08/10 12:10, Kevin Brubeck Unhammer wrote: >> Hi, >> >> I just discovered synctex, which lets you shift-click a point in a pdf >> in Okular and find yourself back in the tex-file at the point that >> corresponds with that point in the pdf =D > > Now on Linux? That's great. I only knew that it worked on a mac. Could > you (possibly off list?) provide some details (where I can find it (I am > using Ubuntu), how I can use it, ...) As I got several off-list questions about where to get synctex on GNU/Linux, I might as well reply on-list ;-) I'm running Arch Linux with TeX Live 2009.16776, and the only thing I had to do to get synctex working was run pdflatex like this: pdflatex -synctex=1 foo.tex You should also get the same effect by adding \synctex=1 to the preamble, or something like #+LaTeX_HEADER: \synctex=1 in your org-mode file. As for Ubuntu, if the TeX Live distribution there is up-to-date (synctex was added in TeX Live 2008), I believe it should work without any configuration necessary. Note: if you were previously using the "pdfsync" package, you may have to remove it from the preamble, also there was talk on the Ling-TeX list of some programs not being able to handle file names with spaces in them. best regards, Kevin Brubeck Unhammer