From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: export to html and relative links: Date: Sun, 13 Apr 2008 17:54:33 +0200 Message-ID: References: <18433.37101.453170.649918@gargle.gargle.HOWL> <18434.10211.460576.220006@gargle.gargle.HOWL> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jl4XW-0002cr-HG for emacs-orgmode@gnu.org; Sun, 13 Apr 2008 11:54:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jl4XU-0002aq-LG for emacs-orgmode@gnu.org; Sun, 13 Apr 2008 11:54:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jl4XU-0002ai-HA for emacs-orgmode@gnu.org; Sun, 13 Apr 2008 11:54:44 -0400 Received: from fg-out-1718.google.com ([72.14.220.159]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jl4XU-00068Y-CQ for emacs-orgmode@gnu.org; Sun, 13 Apr 2008 11:54:44 -0400 Received: by fg-out-1718.google.com with SMTP id d23so2391684fga.30 for ; Sun, 13 Apr 2008 08:54:38 -0700 (PDT) In-Reply-To: <18434.10211.460576.220006@gargle.gargle.HOWL> 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: raman@users.sf.net Cc: emacs-orgmode@gnu.org On Apr 13, 2008, at 5:33 PM, T. V. Raman wrote: > I've not tried http:foo.html -- but I suggest doing that to > author a relative URL is a bad idea. Can you explain why you think that this is a bad idea? Educate me! What is wrong with writing http:foo.html ?????? - Carsten > > > I tried ./foo.html and that didn't work either. One compromise > would be to get ./foo.html to link to a relative url, while > foo.html continues to link to a local anchor > >>>>>> "Carsten" == Carsten Dominik writes: > Carsten> On Apr 13, 2008, at 6:49 AM, T. V. Raman wrote: > Carsten> >>> Hi, >>> >>> org-export turns links of the form [[foo][link to relative >>> url foo]] >>> >>> ends up creating links of the form ... >>> >>> this means that it becomes impossible to write hyperlinks >>> that are relative URLs. > Carsten> > Carsten> Hi Raman, > Carsten> > Carsten> the url goes into the first pair of square brackets, > Carsten> the description into the second. If you put > Carsten> something into the first bracket pair that does not > Carsten> look lie a url, it will be treated as an internal > Carsten> link. > Carsten> > Carsten> Have you tried to use something like > Carsten> > Carsten> [[http:foo.html][link to relative url]] > Carsten> > Carsten> ? > Carsten> > Carsten> - Carsten > > -- > Best Regards, > --raman > > > Email: raman@users.sf.net > WWW: http://emacspeak.sf.net/raman/ > AIM: emacspeak GTalk: tv.raman.tv@gmail.com > PGP: http://emacspeak.sf.net/raman/raman-almaden.asc > Google: tv+raman > IRC: irc://irc.freenode.net/#emacs