From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [patch] Support CUSTOM_ID property in latex export Date: Wed, 19 Feb 2014 13:43:26 +0100 Message-ID: <87d2ij2ryp.fsf@gmail.com> References: <87y51cgmc5.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> <87mwhsro6c.fsf@gmail.com> <87vbwggcwb.fsf@berkeley.edu> <87iosfs9sb.fsf@gmail.com> <871tz24y4q.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> <87lhx82igv.fsf@gmail.com> <87mwho9hij.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]:47391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WG6UZ-0005zO-PX for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 07:43:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WG6UU-0003ts-TR for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 07:43:11 -0500 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:56549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WG6UU-0003tT-Ma for emacs-orgmode@gnu.org; Wed, 19 Feb 2014 07:43:06 -0500 Received: by mail-wg0-f46.google.com with SMTP id x13so278948wgg.13 for ; Wed, 19 Feb 2014 04:43:05 -0800 (PST) In-Reply-To: <87mwho9hij.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> (Richard Lawrence's message of "Tue, 18 Feb 2014 14:35:00 -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: > Would using a different property---say, LATEX_LABEL---resolve your > concerns? This property could be explicitly documented as overriding > Org's default labeling, with the value passed down directly to LaTeX. I'd rather have a variable, e.g., `org-latex-custom-id-as-label'. When this variable is non-nil, Org uses raw custom ID value instead of auto-generated value for labels. Its docstring should explain the limitations that are introduced when using this variable, and in which cases it is interesting to enable it (i.e, your use-case). IOW the docstring should be informative about the trade-off. So, it's basically your patch with an additional variable and its docstring. Do you want to take care of it? > The worrisome situation I have in mind is if I find that I eventually > need to move away from Org to straight LaTeX. OK. Since you had developed this idea in another paragraph, I thought there was another reason. Never mind then. Regards, -- Nicolas Goaziou