emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: mdl@imapmail.org
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Anchors/targets in org-export/publish
Date: Mon, 17 Nov 2008 14:49:51 -0600	[thread overview]
Message-ID: <873ahq2i34.fsf@fastmail.fm> (raw)
In-Reply-To: <55BECF7D-46B4-472E-8C98-5FAB33406DDC@uva.nl> (Carsten Dominik's message of "Sun\, 16 Nov 2008 21\:29\:05 +0100")


Carsten Dominik <dominik@science.uva.nl> writes:

> On Nov 13, 2008, at 5:36 PM, Matthew Lundin wrote:
[snip]
>>
>> 2) If the commented radio target is directly beneath or above a
>> headline, it is not exported. I checked org-exp.el and this seems to
>> be an intentional behavior. I'm not sure I understand the reasons
>> behind this, as it prevents one from giving custom anchors to
>> headlines.
>>
>> This is especially important if one wants to be able to create
>> permalinks to headlines from other pages.
>
> Yes, can see that this application makes sense.  However, the reason
> why I am using the target of the headline instead is because I would
> like the anchor to match at the headline directly.  I could, probably,
> use the specified target instead of the sec-... id, but that also
> feels inconsistent.  Hmmm, I need to think more about this.
>
> I just checked how Muse handles this.  When they have an anchor
> directly above a headline, the anchor is inserted into the definition
> of the headline.  Maybe we can do something like this.
>
> - Carsten

Thanks for considering this.

- Matt

  reply	other threads:[~2008-11-17 20:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13 16:36 Anchors/targets in org-export/publish Matthew Lundin
2008-11-13 17:18 ` Matthew Lundin
2008-11-16 20:29 ` Carsten Dominik
2008-11-17 20:49   ` mdl [this message]
2008-11-16 21:27 ` Carsten Dominik
2008-11-17 20:52   ` mdl

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=873ahq2i34.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=dominik@science.uva.nl \
    --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).