From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [RFC] [export] synctex support for ox-latex Date: Tue, 29 Oct 2013 12:11:37 +0100 Message-ID: <87iowg72mu.fsf@gmx.us> References: <87fvrl1cqp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb7DK-0006S5-Oo for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 07:12:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vb7DD-0002MN-FX for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 07:11:58 -0400 Received: from plane.gmane.org ([80.91.229.3]:45201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vb7DD-0002MI-8n for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 07:11:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vb7DB-0003bx-Ui for emacs-orgmode@gnu.org; Tue, 29 Oct 2013 12:11:49 +0100 Received: from ip-pool-133.iue.it ([192.167.90.133]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Oct 2013 12:11:49 +0100 Received: from rasmus by ip-pool-133.iue.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 29 Oct 2013 12:11:49 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Aaron, Thanks for your work on this patch. Aaron Ecay writes: > It is very simple to use: load the file, and then M-x > ox-synctex-activate. Now every time you export latex to a pdf, the code > will patch the resultant synctex file so you can jump from a pdf viewer > to the (approximate) org source line that generated it. The hooks and > advice can all be removed with M-x ox-synctex-deactivate. Still a nice idea. It doesn't work for me however. Or perhaps I just don't get it. I am expecting it to work similarly to AUCTeX-synctex and other non-Emacs editors supporting synctex. E.g. a red box usually pops up, highlighting the correct line and I'm able to jump back from the pdf to the source. Neither works. I tested it with emacs -q. Note, there should probably be some require statement in the top of your file. ox-latex would work, but you might only need org-element. Software: Org-mode version 8.2.1 (release_8.2.1-86-gbe3dad @ /usr/share/emacs/site-lisp/org/) GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.0) of 2013-10-03 on pank Evince 3.10. Texlive 2013, up to date. –Rasmus -- You people at the NSA are becoming my new best friends!