emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Internal Links with Spaces


From: Jacob Gerlach
Subject: Re: [O] [PATCH] Internal Links with Spaces
Date: Wed, 11 Mar 2015 09:34:55 -0400

On Tue, Mar 10, 2015 at 3:47 PM, Jacob Gerlach <address@hidden> wrote:
> After finally getting this function to work, I discovered that I had
> the same problem as when I used org-id: the link description causes
> exported latex references to use the headline text instead of the
> \label{}.
...
> This works for me, but I'd love to find a more elegant approach:

I had been waffling on whether to switch to the git version of org.
This was motivation to make the switch, so I decided to give a shot at
patching this.

Attached patch introduces `org-latex-prefer-section-references'. If
non-nil, links will use the generated \label even if the link has a
description.

I believe I did everything right - commit message, no failures on make test...

Regards,
Jake

Attachment: 0001-ox-latex.el-Customize-link-export-behavior.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]