emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Noorul Islam <noorul@noorul.com>
Cc: Guy Wiener <wiener.guy@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: [BUG] org-latex ignores org-export-latex-hyperref-format?
Date: Sun, 17 Oct 2010 07:40:07 +0200	[thread overview]
Message-ID: <A2F99085-7103-48FA-AB24-24D34A78F6D7@gmail.com> (raw)
In-Reply-To: <AANLkTi=iQnfpP6tnepe0LDAbX4DkgZ66c+7UB544HOpM@mail.gmail.com>

Applied, thanks.

- Carsten

On Oct 17, 2010, at 5:29 AM, Noorul Islam wrote:

> On Sat, Oct 16, 2010 at 3:32 PM, Guy Wiener <wiener.guy@gmail.com>  
> 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 <wiener.guy@gmail.com>
>
> Thanks and Regards
> Noorul
> <org-latex2.txt>_______________________________________________
> 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

      reply	other threads:[~2010-10-17  5:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-16 10:02 [BUG] org-latex ignores org-export-latex-hyperref-format? Guy Wiener
2010-10-17  3:29 ` Noorul Islam
2010-10-17  5:40   ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A2F99085-7103-48FA-AB24-24D34A78F6D7@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=noorul@noorul.com \
    --cc=wiener.guy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).