From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH 0/3] synctex support for pdf export Date: Mon, 01 Apr 2013 11:15:48 +0200 Message-ID: <87r4iutxvf.fsf@gmail.com> References: <1364786101-16603-1-git-send-email-aaronecay@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMaqK-0005j6-GX for emacs-orgmode@gnu.org; Mon, 01 Apr 2013 05:15:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMaqI-0003PM-To for emacs-orgmode@gnu.org; Mon, 01 Apr 2013 05:15:56 -0400 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:42739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMaqI-0003P4-EE for emacs-orgmode@gnu.org; Mon, 01 Apr 2013 05:15:54 -0400 Received: by mail-we0-f175.google.com with SMTP id t11so1624256wey.20 for ; Mon, 01 Apr 2013 02:15:53 -0700 (PDT) In-Reply-To: <1364786101-16603-1-git-send-email-aaronecay@gmail.com> (Aaron Ecay's message of "Sun, 31 Mar 2013 23:14:58 -0400") 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: Aaron Ecay Cc: emacs-orgmode@gnu.org Hello, Aaron Ecay writes: > This patch series is an attempt to add synctex support to org mode. Thank you for your patch. > I have not tested this code extensively, but it does work for me. I > don't know if it works for async export or not, since I haven't set up > a working environment for that. Async export works out of-the-box (though not optimized). There's no special environment to set up. > There are currently limitations. The granularity of the jumping is > not great, because of the way the parser works. It will get you into > the paragraph corresponding to the PDF location, but no closer (with > pure latex, you will arrive at the exact line in the tex file). You > also have to run org-latex-patch-synctex manually, unless you use the > direct-to-pdf export option (C-c C-e l p). In regular latex, beamer > documents have somewhat degraded synctex granularity (in general, you > don't get to the exact source line, but only somewhere between > \begin{frame} and \end{frame}). This may be compounded by the bad > granularity of this patch -- I have not tested this combo very much. [...] As you notice, there are many limitations and I agree some of them will be tedious to overcome. It also breaks asynchronous export. Moreover, modifying both parser and core export framework for an optional feature within a single back-end family is not right, IMO. While I acknowledge the investment put into this patch, I won't accept it in its current form. I might consider it if it only modifies ox-latex.el, handles include keywords and buffer modifications through Babel, and doesn't break asynchronous export. Not relying on text properties is a real plus. Though, don't push it too hard, I'm really not sure it's worth the trouble. Regards, -- Nicolas Goaziou