From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG][PATCH] latex export of links in description lists Date: Tue, 18 Jun 2013 22:49:15 +0200 Message-ID: <878v27gn5g.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up2py-00011w-Fv for emacs-orgmode@gnu.org; Tue, 18 Jun 2013 16:49:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up2pv-00021c-4P for emacs-orgmode@gnu.org; Tue, 18 Jun 2013 16:49:10 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:60626) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up2pu-00021F-RP for emacs-orgmode@gnu.org; Tue, 18 Jun 2013 16:49:07 -0400 Received: by mail-wi0-f172.google.com with SMTP id c10so3901074wiw.5 for ; Tue, 18 Jun 2013 13:49:06 -0700 (PDT) In-Reply-To: (Rick Frankel's message of "Thu, 06 Jun 2013 10:14:21 -0400") 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: Rick Frankel Cc: emacs-orgmode@gnu.org Hello, Rick Frankel writes: > There is a bug in the processing of description list. > > Given the list: > > ,---- > | - not a link :: not a link > | - [[http://link.com][http link]] :: baz > | - [[#href-test][custom_id link]] :: bar > | - [[def list][search link]] :: foo > `---- > > The latex exporter generates the following output, which fails > latex processing on the `hyperref's. > > ,---- > | \begin{description} > | \item[not a link] not a link > | \item[\href{http://link.com}{http link}] baz > | \item[\hyperref[sec-1]{custom\_id link}] bar > | \item[\hyperref[sec-1]{search link}] foo > | \end{description} > `---- > > I believe the simplest patch to solve is to wrap the item argument in > braces as follows: Applied. Thank you. Regards, -- Nicolas Goaziou