From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH 0/2] References auto-generated labels with \ref in LaTeX export Date: Sun, 13 Feb 2011 00:46:25 +0100 Message-ID: <87aai0rf3i.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=48938 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoPAU-0008P4-Fz for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 18:46:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoPAS-0001ro-So for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 18:46:22 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:34581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoPAS-0001rR-Jp for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 18:46:20 -0500 Received: by bwz16 with SMTP id 16so4345394bwz.0 for ; Sat, 12 Feb 2011 15:46:19 -0800 (PST) In-Reply-To: (Lawrence Mitchell's message of "Thu, 20 Jan 2011 13:23:21 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lawrence Mitchell Cc: emacs-orgmode@gnu.org Hi Lawrence, Lawrence Mitchell writes: > This patch set introduces a new option > `org-latex-unprettify-internal-links' which, if non-nil, converts > "bare" references to auto-generated section labels into a \ref > rather than a \hyperref. Thanks for the patch and the explanations. What about using org-export-latex-hyperref-format directly? (setq org-export-latex-hyperref-format "\\ref{%s}") and you're set. I updated the docstring to make clear there is no real problem in having less than two "%s" in here -- the format function will just ignore the second one. Best, -- Bastien