From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: HTML export: internal links broken Date: Fri, 28 Mar 2008 16:20:24 +0100 Message-ID: <26176C4B-6F02-4249-BDB5-A48D7F9577A0@science.uva.nl> References: <87r6dxqevn.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JfGNZ-0000lh-FZ for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 11:20:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JfGNX-0000il-JL for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 11:20:28 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JfGNX-0000iG-3t for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 11:20:27 -0400 Received: from fg-out-1718.google.com ([72.14.220.154]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JfGNW-0000HY-R1 for emacs-orgmode@gnu.org; Fri, 28 Mar 2008 11:20:27 -0400 Received: by fg-out-1718.google.com with SMTP id d23so350803fga.30 for ; Fri, 28 Mar 2008 08:20:26 -0700 (PDT) In-Reply-To: <87r6dxqevn.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: emacs-orgmode Mailinglist 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 heading span>

>
> >
>

1.1.1 Some third span> 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