all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Sébastien Brisard" <sebastien.brisard@m4x.org>
To: emacs-orgmode@gnu.org
Subject: [ox-html] Why are dedicated targets automatically renamed?
Date: Thu, 21 Jan 2016 07:45:23 +0100	[thread overview]
Message-ID: <CAGRH7HpkwPPVjAp45wAu-uTKpn2LRNT3=n_YOqTZx=Cwmv=Lcw@mail.gmail.com> (raw)

Hi,
I have noticed that org-mode now renames dedicated targets. More
precisely, the following org file

===== beginning of a.org =====
  - <<item1>>Item 1
  - <<item2>>Item 2
===== end of a.org =====

gets exported to html as

===== beginning of a.html (extract) =====
<body>
<div id="content">
<ul class="org-ul">
<li><a id="orgtarget1"></a>Item 1</li>
<li><a id="orgtarget2"></a>Item 2</li>
</ul>
</div>
<div id="postamble" class="status">
<p class="author">Author: Sébastien Brisard</p>
<p class="date">Created: 2016-01-21 Thu 07:38</p>
<p class="creator"><a
href="http://www.gnu.org/software/emacs/">Emacs</a> 24.5.1 (<a
href="http://orgmode.org">Org</a> mode 8.3.3)</p>
<p class="validation"><a
href="http://validator.w3.org/check?uri=referer">Validate</a></p>
</div>
</body>
===== end of a.html =====

Notice that the targets were renamed item1 -> orgtarget1 and item2 ->
orgtarget2. Why is that?  With org-publish, it messes up links across
files.
Is there an option that allows to preserve the user's target name on export?
I've tried to grep for "orgtarget" through all org files, and could
not find where this feature was defined.

Thanks for your help,
Sébastien

PS: org-mode 8.2.1 does not have this problem, while v 8.3.3 does.

             reply	other threads:[~2016-01-21  6:45 UTC|newest]

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

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

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

  git send-email \
    --in-reply-to='CAGRH7HpkwPPVjAp45wAu-uTKpn2LRNT3=n_YOqTZx=Cwmv=Lcw@mail.gmail.com' \
    --to=sebastien.brisard@m4x.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.