[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [BUG] org-latex ignores org-export-latex-hyperref-format?
From: |
Noorul Islam |
Subject: |
Re: [Orgmode] [BUG] org-latex ignores org-export-latex-hyperref-format? |
Date: |
Sun, 17 Oct 2010 08:59:51 +0530 |
On Sat, Oct 16, 2010 at 3:32 PM, Guy Wiener <address@hidden> wrote:
> 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.
Looks like commit cae0c63c488067e93b665e9110dc74a634c52529 has introduced
new customizable variable org-export-latex-hyperref-format but left
out some places
in the code to be replaced. Attached is the patch.
Log:
* lisp/org-latex.el (org-export-latex-links) : Replaced hard coded
hyperref format with custom
variable `org-export-latex-hyperref-format'
Found by Guy Wiener <address@hidden>
Thanks and Regards
Noorul
org-latex2.txt
Description: Text document