[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] HTML export: internal links broken
From: |
Sebastian Rose |
Subject: |
[Orgmode] HTML export: internal links broken |
Date: |
Wed, 26 Mar 2008 23:50:20 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
There is small bug in the XHTML export. Internal links point to nowhere.
* Example
*** In the orgfile:
This [[Some Heading][Link]] should link to '*** Some Heading'.
*** After export, HTML file:
This <a href="#Some--Heading">Link</a> should link to '*** Some
Heading'.
There is no anchor defined with that name in the exported HTML. There
are two possibilities to change this:
1) define the anchor next to the heading:
<a id="Some--Heading" />
2) If the link pionts to a heading, use the ID of the heading in the
link:
... <a href="sec-3.2.1">Link</a> to '*** Some Heading'.
The second one is the one I would prefer, but that would mean to handle
links to headings differently from links to user defined anchors. But it
would keep the nesting of section containers clean.
Regards,
Sebastian
- [Orgmode] HTML export: internal links broken,
Sebastian Rose <=