From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [BUG] Bad handling of "\" in link names Date: Thu, 03 Dec 2009 15:29:52 -0500 Message-ID: <13862.1259872192@gamaville.dokosmarshall.org> References: <51b0095d0912030942u4b57fd55ra1457ed648ec4e98@mail.gmail.com> <11491.1259864021@gamaville.dokosmarshall.org> <51b0095d0912031207w7f709871se9b57d0d59935200@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGIKq-0007Tm-QE for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 15:31:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGIKl-0007Qs-Rk for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 15:31:32 -0500 Received: from [199.232.76.173] (port=39515 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGIKl-0007Qp-O0 for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 15:31:27 -0500 Received: from vms173005pub.verizon.net ([206.46.173.5]:49425) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGIKl-0008L2-BM for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 15:31:27 -0500 Received: from gamaville.dokosmarshall.org ([173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KU3002HKFL62LRH@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 14:29:35 -0600 (CST) In-reply-to: Message from Nicolas Girard of "Thu\, 03 Dec 2009 21\:07\:16 +0100." <51b0095d0912031207w7f709871se9b57d0d59935200@mail.gmail.com> 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: Nicolas Girard Cc: emacs-orgmode Nicolas Girard wrote: > 2009/12/3 Nick Dokos : > > Nicolas Girard wrote: > > > >> hi all, > >> as title says, a link such as > >> =C2=A0 [[http://www.somewhere.org][\maketitle]] > >> is badly handled. > >> > > In what way? > > >=20 > By the LaTeX exporter. > It gets translated into > \href{http://www.somewhere.org}{\maketitle} > whereas I'd have expected > \href{http://www.somewhere.org}{\\maketitle} >=20 AFAICT, it has nothing to do with links: \foo in normal text, becomes \foo in the latex export. Moreover, even if org did what you expected, I doubt that LaTeX would do anything reasonable with the result (at least, a few tentative tests here produce either LaTeX errors - e.g. if the link is in a headline - or the \\ is interpreted as a newline - if the link is in the body of a paragr= aph.) Nick