From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [patch] Support CUSTOM_ID property in latex export Date: Sat, 15 Feb 2014 23:44:43 +0100 Message-ID: <87mwhsro6c.fsf@gmail.com> References: <87y51cgmc5.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEnyG-0004b4-JL for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 17:44:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEnyC-0006Xh-4h for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 17:44:28 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:39726) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEnyB-0006XZ-UF for emacs-orgmode@gnu.org; Sat, 15 Feb 2014 17:44:24 -0500 Received: by mail-wg0-f42.google.com with SMTP id k14so1218634wgh.3 for ; Sat, 15 Feb 2014 14:44:22 -0800 (PST) In-Reply-To: <87y51cgmc5.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> (Richard Lawrence's message of "Sat, 15 Feb 2014 12:19:54 -0800") 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: Richard Lawrence Cc: emacs-orgmode@gnu.org Hello, Richard Lawrence writes: > Here is a patch to add support for using CUSTOM_ID properties for labels > and refs in the LaTeX exporter. Thank you for the patch. Though, I don't understand why it is needed. > The patch uses the value of CUSTOM_ID when exporting a headline for the > associated \label, and when exporting a link for the associated \ref > command (or whatever). [...] > This addresses an issue that was raised here, but got no response: > http://thread.gmane.org/gmane.emacs.orgmode/54039 The issue no longer applies since \label{custom-id} are not generated anymore. Moreover, the "bug" is probably a misunderstanding of `org-export-solidify-link-text' (actually, its 7.8 counterpart). > I also need this behavior, which is why I wrote this. Would you mind explaining your use case? >From a user's perspective, CUSTOM_ID allows an user to refer to a particular headline with a specific internal link type. How this is done internally is something different, which belong to the implementation level. Regards, -- Nicolas Goaziou