From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX export: Handle hash symbol in footnote url links Date: Wed, 26 Feb 2014 15:11:42 +0100 Message-ID: <8738j6t141.fsf@gmail.com> References: <20140221111408.GH904@smoon> <53074D4F.4090808@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIfCq-00019a-OS for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 09:11:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIfCi-0005hg-9z for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 09:11:28 -0500 Received: from mail-we0-x232.google.com ([2a00:1450:400c:c03::232]:45187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIfCi-0005hY-2w for emacs-orgmode@gnu.org; Wed, 26 Feb 2014 09:11:20 -0500 Received: by mail-we0-f178.google.com with SMTP id q59so1645062wes.23 for ; Wed, 26 Feb 2014 06:11:19 -0800 (PST) In-Reply-To: <53074D4F.4090808@gmail.com> (Michael Bach's message of "Fri, 21 Feb 2014 13:57:51 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Bach Cc: Vladimir Lomov , emacs-orgmode@gnu.org Hello, Michael Bach writes: > Thanks for your answer. `\url` can handle hash symbols in its argument > without escaping alright - as can be expected. AFAICS, the problem lies > in the `\footnote` command. And yes, I was thinking of `ox-latex` > figuring out that the url is in a footnote and escape accordingly. > > I can see that the export engine should not and cannot cover all special > cases, but since links and footnotes are `first-class` org-mode > concepts, it would be nice to have them play along in this situation. > From a typographic point of view, I figured url links in footnotes are > not that unusual. This needs to be properly defined. Where protecting characters in verbatim parts of the buffer should happen? Within footnotes only? In every verbatim part? And on which characters? Regards, -- Nicolas Goaziou