From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Possible buglet in latex export Date: Sun, 16 Aug 2009 22:51:44 -0500 Message-ID: <4A88D3D0.3000509@sift.info> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MctGD-0006dH-Sd for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 23:51:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MctG9-0006d4-El for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 23:51:53 -0400 Received: from [199.232.76.173] (port=57659 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MctG9-0006d1-8r for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 23:51:49 -0400 Received: from outbound-mail-116.bluehost.com ([69.89.22.16]:37416) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MctG8-0000W8-Kp for emacs-orgmode@gnu.org; Sun, 16 Aug 2009 23:51:48 -0400 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: Org Mode When I do a latex export, a simple URL in text, or a simple link url of the form [[URL]] --- with no description --- gets emitted as \href{URL}{URL} which causes Latex to crash for me. I believe that this is because it won't accept a URL as the second argument to href. Changing the \href command to \url fixes the latex problem. So I wonder if we need to catch this special case of a description-less URL and treat it specially in latex export for the benefit of latex's hyperref package. I'm not an expert on hyperref, by any means, nor do I know the innards of latex export, so I could be missing something here. However the description of \url in the hyperref manual says the following: \url{URL} Similar to \href{URL}{\nolinkurl{URL}} ...which suggests to me that using the URL without some kind of magical protection (provided by \nolinkurl) may lead to bad things. best, r