[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [ox-html] Why are dedicated targets automatically renamed?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [ox-html] Why are dedicated targets automatically renamed? |
Date: |
Thu, 20 Oct 2016 18:51:32 +0200 |
Hello,
"D. C. Toedt" <address@hidden> writes:
> I'm late to this thread but found it in researching a similar problem. I
> use designated targets to create a permanently-named internal HTML anchor
> that I can use in providing a precisely-targeted complete URL that points
> to a specific paragraph (as opposed to a section). Example: In the file
> index.org, the org-mode dedicated target <<ThisTarget>> should export to
> HTML as: http://www.example.com/index.html#ThisTarget. The name #ThisTarget
> needs to be permanent because the document in question is a work in
> progress.
>
> Based on Nicolas's suggestion (downthread) about using #+HTML: or @@html: ,
> I did a couple of quickie macros to create <a> anchors and links, but
> that's a pain and clutters up the on-screen display in org-mode.
For the record, any implementation of `org-html-prefer-user-labels',
similar to `org-latex-prefer-user-labels' is welcome, as long it is
isn't active by default.
Regards,
--
Nicolas Goaziou