From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Bug: [Markdown export] Relative pages considered as files if links' targets [8.3.1 (8.3.1-123-g823cad-elpa @ /home/bitouze/.emacs.d/elpa/org-20150914/)] Date: Sun, 20 Sep 2015 17:52:56 +0200 Message-ID: <87r3ltytnr.fsf@gmx.us> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdgvQ-0005ha-D6 for emacs-orgmode@gnu.org; Sun, 20 Sep 2015 11:53:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZdgvL-0007AL-E3 for emacs-orgmode@gnu.org; Sun, 20 Sep 2015 11:53:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:33679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZdgvL-0007AB-7Q for emacs-orgmode@gnu.org; Sun, 20 Sep 2015 11:53:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZdgvJ-0002x4-L7 for emacs-orgmode@gnu.org; Sun, 20 Sep 2015 17:53:05 +0200 Received: from tsn109-201-154-191.dyn.nltelcom.net ([109.201.154.191]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2015 17:53:05 +0200 Received: from rasmus by tsn109-201-154-191.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2015 17:53:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org dbitouze@wanadoo.fr (Denis Bitouzé) writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > ------------------------------------------------------------------------ > > Sometimes, you need to have links, the targets of which are relative > pages of your site. Unfortunately, when exported to Markdown, these > relative pages are considered as files: > > #+begin_src org > - A [[/rootsite/somepage/][(relative) page]]. > - A [[/rootsite/somepage][(relative) page]]. > #+end_src > > > is exported as: > > #+begin_src markdown > - A [(relative) page](file:///rootsite/somepage/). > - A [(relative) page](file:///rootsite/somepage). > #+end_src > > > whereas the expected behavior would be: > > #+begin_src markdown > - A [(relative) page](/rootsite/somepage/). > - A [(relative) page](/rootsite/somepage). > #+end_src What if you add a dot? #+begin_src org - A [[./rootsite/somepage/][(relative) page]]. - A [[./rootsite/somepage][(relative) page]]. #+end_src ⇒ #+begin_src markdown - A [(relative) page](./rootsite/somepage/). - A [(relative) page](./rootsite/somepage). #+end_src Or is that a different link? -- It was you, Jezebel, it was you