From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guy Wiener Subject: [BUG] org-latex ignores org-export-latex-hyperref-format? Date: Sat, 16 Oct 2010 12:02:38 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0482089873==" Return-path: Received: from [140.186.70.92] (port=52667 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P73b7-0005uC-Nc for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 06:02:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P73b5-0005zL-E1 for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 06:02:41 -0400 Received: from mail-qy0-f176.google.com ([209.85.216.176]:44643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P73b5-0005zA-Bn for emacs-orgmode@gnu.org; Sat, 16 Oct 2010 06:02:39 -0400 Received: by qyk29 with SMTP id 29so1963509qyk.0 for ; Sat, 16 Oct 2010 03:02:38 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============0482089873== Content-Type: multipart/alternative; boundary=0015175cb1d40a3f910492b90b1a --0015175cb1d40a3f910492b90b1a Content-Type: text/plain; charset=UTF-8 I found the following weird thing in org-latex, and I think it is a bug: The customization option "org-export-latex-hyperref-format" is suppose to render links to hyperrefs in the exported tex file. However, in org-latex.el, lines 1889 and 1892, the string "\\hyperref[%s]{%s}" is hard-coded, so that the link export format is not really customizable. I replaced this string with the custom variable and the option works as expected - I.e., changing the option chanced the format of exported links. Thanks, Guy Wiener. --0015175cb1d40a3f910492b90b1a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I found the following weird thing in org-latex, and I thin= k it is a bug:
The customization option "org-export-latex-hyperref= -format" is suppose to render links to hyperrefs in the exported tex f= ile. However, in org-latex.el, lines 1889 and 1892, the string "\\hype= rref[%s]{%s}" is hard-coded, so that the link export format is not rea= lly=C2=A0customizable. I replaced this string with the custom variable and = the option works as expected - I.e., changing the option chanced the format= of exported links.

Thanks,
=C2=A0=C2=A0Guy Wiener.
--0015175cb1d40a3f910492b90b1a-- --===============0482089873== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0482089873==--