From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [ANN] ASCII back-end for new export engine Date: Thu, 26 Jan 2012 08:44:40 +0000 Message-ID: <877h0esvif.fsf@ucl.ac.uk> References: <87pqec4xua.fsf@gmail.com> <87obtvk6j0.fsf@gmail.com> <87obtrel2z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLsC-0006dQ-9E for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:44:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqLs6-0001mR-IL for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:44:04 -0500 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:52839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLs6-0001mL-EB for emacs-orgmode@gnu.org; Thu, 26 Jan 2012 04:43:58 -0500 In-Reply-To: <87obtrel2z.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 25 Jan 2012 18:41:24 +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: Nicolas Goaziou Cc: Org Mode List Nicolas Goaziou writes: > Hello, > > tsd@tsdye.com (Thomas S. Dye) writes: > >> I think that your understanding of the new exporter architecture is >> intimate and secure. I'm happy to follow your lead here. > > I know for sure my way around the new exporter, but my LaTeX skills > aren't on par with that knowledge. > > Anyway, I've pushed a commit which tries to create smart links. > > Basically, links without a description pointing to an headline will be > turned into \ref{headline-label}, unless headline's numbering is off, in > which case they become \hyperref[headline-label]{headline-title}. > > Nothing is changed for links providing their own description, and links > not pointing to headlines. > > That should remove the need for a variable. > > What do you think about it? I think this is a very nice solution, especially the handling of links to sections with and without numbering. Thanks, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1 : using Org-mode version 7.8.03 (release_7.8.03.237.g674bb)