From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Latex export fails with link in headline Date: Sat, 03 Dec 2016 22:03:58 +0100 Message-ID: <87a8ccd8sh.fsf@nicolasgoaziou.fr> References: <87mvgjg805.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDHTW-0006MQ-58 for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:04:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDHTR-00060b-9V for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:04:02 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:45012) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cDHTR-00060V-38 for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 16:03:57 -0500 In-Reply-To: (Scott Otterson's message of "Sat, 3 Dec 2016 16:04:54 +0100") 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" To: Scott Otterson Cc: "Emacs-orgmode@gnu.org" Hello, Scott Otterson writes: > Could you please check the .tex output you got when exported my .org file > example (attached again)? In the .tex I get (also attached), it's clear > that org-mode has forgotten to escape the '#' in the URL. In headlink.tex, > if I replace '#' with ''\#', then latexmk can successfully make a pdf. > > Do you see something different? I do. While I get the same .tex output, compiling the file to a pdf doesn't crash. I also use Texlive, but on GNU/Linux. Besides, Org mode doesn't escape anything. It calles `url-encode-url' on the link instead. Regards, -- Nicolas Goaziou