emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Hetzner <egh@e6h.org>
To: emacs-orgmode@gnu.org
Subject: Re: Question regarding link text in HTML export
Date: Wed, 24 Apr 2013 07:24:00 -0700	[thread overview]
Message-ID: <87ehe0uhvj.wl%egh@e6h.org> (raw)
In-Reply-To: <8638ugl6p6.fsf@somewhere.org>

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

At Wed, 24 Apr 2013 09:37:57 +0200,
Sebastien Vauban wrote:
> 
> Hello Nicolas,
> 
> Nicolas Goaziou wrote:
> >
> > This is not a bug. This is how cross references work: any link to an
> > internal target without a description will become a number referring to
> > the target. It works for headlines and many other things,
> 
> He does well have a description part, doesn't he?

Thanks, Sebastien and Nicholas.

I should have checked the source first, of course. There is a very
helpful comment:

  ;; Case 1: Headline is numbered and LINK has no
  ;; description or LINK's description matches
  ;; headline's title.  Display section number.

Clearly the behavior is intended (“LINK’s description matches
headline’s title”. However, it does not seem expected behavior to me.
It differs from latex output, for instance.

best, Erik

[-- Attachment #2: Type: text/plain, Size: 53 bytes --]

Sent from my free software system <http://fsf.org/>.

      parent reply	other threads:[~2013-04-24 14:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24  5:39 Erik Hetzner
2013-04-24  7:17 ` Nicolas Goaziou
2013-04-24  7:37   ` Sebastien Vauban
2013-04-24  7:55     ` Nicolas Goaziou
2013-04-24 14:24     ` Erik Hetzner [this message]

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=87ehe0uhvj.wl%egh@e6h.org \
    --to=egh@e6h.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Question regarding link text in HTML export' \
    /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

Code repositories for project(s) associated with this 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).