> Why don't you use [[#IntroTechContracts][Introduction to Technology
Contracts]]
 as a link?

I routinely tweak the text of the target headings as I edit the document.
 For example, the section heading "Introduction to Technology Contracts"
might become, say, "Introduction:  Why Technology Contracts are Fun."

I don't want to have to manually revise the link text for the many internal
cross-reference links that exist in the document.  I'd really like to have
a way for a link to automatically retrieve the heading text during HTML
export.





On Sun, Feb 9, 2014 at 2:19 AM, Bastien <b...@gnu.org> wrote:

> Hello,
>
> "D. C. Toedt" <d...@toedt.com> writes:
>
> > (Org-mode maintainer [Bastien, still?], can you please let me know if
> > / when this gets implemented in an official release.)
>
> I'm not Org's maintainer anymore, I'm just /de facto/ taking decisions
> in accordance with the other core maintainers, our level of trust lets
> us move forward happily.
>
> To come back to you original question:
>
> ,----
> | #+OPTIONS: H:7 TOC:nil @:t num:1 email:t author:t
> |
> | * Introduction to Technology Contracts
> |   :PROPERTIES:
> |   :CUSTOM_ID: IntroTechContracts
> |   :END:
> |
> | Lorem ipsum etc. etc.
> |
> | * Dangerous Clauses
> |   :PROPERTIES:
> |   :CUSTOM_ID: DangerousClauses
> |   :END:
> |
> | Lorem ipsum etc. etc. -- see Section [[#IntroTechContracts]].
> `----
>
> Why don't you use
>
> [[#IntroTechContracts][Introduction to Technology Contracts]]
>
> as a link?  It is the link stored by org-store-link, and later
> inserted by org-insert-link, and AFAICS it is correctly exported.
>
> But it's true there are a few things we can make more consistent
> in this area though, so thanks for bringing this up.
>
> Best,
>
> --
>  Bastien
>

Reply via email to