Re: [Orgmode] HTML export: internal links broken
Hi Sebastian, this is not really a bug. Internal links in Org are fuzzy links, they do a text search. During HTML export I am only implementing explicit targets: pieces of text enclosed in <<...>> So if you write * <> ** <> *** Some <> heading This [[Some Heading][Link]] should link to '*** Some Heading'. This [[Some other heading][Link]] should link to '*** Some other heading'. This [[third][Link]] should link to '*** Some third heading', even though only a single word is in the target. then you will get a properly linked export: 1 Some Heading 1.1 Some other headingspan> 1.1.1 Some thirdspan> heading This Link should link to '*** Some Heading'. This Link should link to '*** Some other heading'. This Link should link to '*** Some third heading'. Hope this helps. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] HTML export: internal links broken
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 Link 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: 2) If the link pionts to a heading, use the ID of the heading in the link: ... Link 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 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode