From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: Changed behaviours of LaTeX exporter in version 8.0+ Date: Fri, 19 Sep 2014 08:49:19 -0700 Message-ID: <8738bn391c.fsf@berkeley.edu> References: <87lhpg3o60.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XV0SO-0006iw-8V for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 11:50:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XV0SF-00087p-Un for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 11:50:48 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:55343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XV0SF-00086S-OG for emacs-orgmode@gnu.org; Fri, 19 Sep 2014 11:50:39 -0400 Received: by mail-pa0-f48.google.com with SMTP id ey11so396845pad.7 for ; Fri, 19 Sep 2014 08:50:32 -0700 (PDT) In-Reply-To: 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: "Kyeong Soo (Joseph) Kim" Cc: emacs-orgmode@gnu.org Hi Joseph, "Kyeong Soo (Joseph) Kim" writes: > Great thanks for your answering my two questions, especially sharing your > experience for cross-referencing in LaTeX export. > > Though your suggestion for cross-referencing is an excellent workaround, I > wonder whether there is any benefit using org-mode in writing papers in > this case; for instance, manual setting of CUSTOM_ID would be a hassle, > considering that it can be easily & automatically done in LaTeX with > AUCTeX/RefTeX's label function. Don't you need to make sure that your sections have a consistent label in order to refer to them? At any rate, one of the reasons I use this solution is that I want to be able to easily use plain LaTeX at points where I discover that I can't make Org do everything I want. One of the cases I was worried about, for example, is having a section reference inside an embedded LaTeX block. If you don't know the label ahead of time, you can't use a raw \ref command inside #+BEGIN_LATEX...#+END_LATEX. So I like being able to set the labels via CUSTOM_ID on an as-needed basis. (I don't do it for every section.) You might be able to get away with less; it looks to me like the [[*Foo][Section Foo]] still produces a link to a headline in LaTeX output. Does that not work for you? > I still don't know why the new export engine has brought so many > compatibility issues in its behavior. It seems that I'd better go > back to the prior version (7.X) in order to focus on my research. The new export engine was a complete re-write, and came with an attempt to define and standardize Org syntax. Some of the incompatibilities are due to that standardization: the old LaTeX and HTML exporters might treat some text differently, for example, or not deal with some corner case, so in writing a new export engine, it was necessary to define the correct behavior. Other incompatibilities are just bugs that come with any new piece of software; the exporter is under heavy development and those are constantly getting fixed. The new exporter really is a *lot* better, and in my experience it is worth the effort to upgrade. I found myself bumping into the limitations of the pre-8.0 exporter very frequently. If you don't, you can wait, but I think you'll find the new exporter a lot easier to work with and to get help with. Best, Richard OpenPGP Key ID: CF6FA646 Fingerprint: 9969 43E1 CF6F A646 (See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)