emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "D. C. Toedt" <dc@toedt.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [ox-html] Why are dedicated targets automatically renamed?
Date: Thu, 20 Oct 2016 18:51:32 +0200	[thread overview]
Message-ID: <874m47yne3.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAGN11+13QKA9WKgNwPE-QY1i+wiybCFCFUcNxXwLMm4r6foOXA@mail.gmail.com> (D. C. Toedt's message of "Tue, 18 Oct 2016 10:46:40 -0500")

Hello,

"D. C. Toedt" <dc@toedt.com> 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

  reply	other threads:[~2016-10-20 16:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-18 15:46 [ox-html] Why are dedicated targets automatically renamed? D. C. Toedt
2016-10-20 16:51 ` Nicolas Goaziou [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-21  6:45 Sébastien Brisard
2016-01-31 21:52 ` Nicolas Goaziou
2016-02-01 19:59   ` Sébastien Brisard
2016-02-02 16:38     ` Nicolas Goaziou
2016-02-03  7:27       ` Sébastien Brisard

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=874m47yne3.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=dc@toedt.com \
    --cc=emacs-orgmode@gnu.org \
    /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).