From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: ox-latex and synctex Date: Mon, 24 Feb 2014 18:22:47 -0500 (EST) Message-ID: Reply-To: Ken Mankoff Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WI4rA-0007UX-BI for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 18:22:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WI4r5-0004xQ-0k for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 18:22:40 -0500 Received: from mail-qc0-x233.google.com ([2607:f8b0:400d:c01::233]:45617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WI4r4-0004xJ-RR for emacs-orgmode@gnu.org; Mon, 24 Feb 2014 18:22:34 -0500 Received: by mail-qc0-f179.google.com with SMTP id r5so5142832qcx.38 for ; Mon, 24 Feb 2014 15:22:34 -0800 (PST) Received: from gorgonzola (cpe-108-182-64-116.nyc.res.rr.com. [108.182.64.116]) by mx.google.com with ESMTPSA id r40sm27560525qga.23.2014.02.24.15.22.33 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 24 Feb 2014 15:22:33 -0800 (PST) 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: Org-mode I'm writing about a recent thread combining syntex with ox-latex. Four posts on this are here: https://lists.gnu.org/archive/html/emacs-orgmode/2013-10/msg00905.html including an ox-synctex.el that implements PDF -> Org syncing. I have bi-directional synctex working with LaTeX source, and would like to get one direction PDF -> Org Source links working with Org mode if possible as the above claims. Right now if I click on the PDF the LaTeX exported version opens to the correct line, not the Org source. I'm using the latest version of Org (from ELPA, OS X) and I'm wondering if anyone else has this setup working? I'm using this test code: #+BEGIN_SRC emacs-lisp (load "~/.emacs.d/ox-synctex.el") (setq org-latex-pdf-process '("pdflatex -synctex=1 -interaction nonstopmode -output-directory %o %f")) (ox-synctex-activate) (org-latex-export-to-pdf) #+END_SRC And after exporting my *Messages* buffer contains: ox-synctex: patching org-export-as return ox-synctex: active during latex compile ox-synctex: no concordance, not patching. ox-synctex: done, hoorah! However, when I look at the synctex.gz and compare it with that same file produced from compiling the LaTeX source directly in emacs the two are identical, which is why my pdf viewer/synctex is sending me to the .tex exported file and not the original .org source file. -k.