From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Bach Subject: LaTeX export: Handle hash symbol in footnote url links Date: Fri, 21 Feb 2014 11:52:14 +0100 Message-ID: Reply-To: phaebz@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGnid-0002QA-1b for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 05:52:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGniX-0006UO-OU for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 05:52:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:58861) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGniX-0006Ts-IE for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 05:52:29 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WGniT-0001tR-U5 for emacs-orgmode@gnu.org; Fri, 21 Feb 2014 11:52:25 +0100 Received: from 195.245.225.252 ([195.245.225.252]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Feb 2014 11:52:25 +0100 Received: from phaebz by 195.245.225.252 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Feb 2014 11:52:25 +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: emacs-orgmode@gnu.org Dear org-mode Devs and Users, I am trying to export the following snippet #+BEGIN_ORG * LaTeX export of url with hash symbol The Org mode export facilities can be used to export Org documents or parts of Org documents to a variety of other formats.[fn:1] * Footnotes [fn:1] [[http://orgmode.org/org.html#Exporting]] #+END_ORG Now the exported .tex file contains the link as : \footnote{\url{http://orgmode.org/org.html#Exporting}} Which LaTeX does not like: : Illegal parameter number in definition of \Hy@tempa FWIW, there is a workaround for the percent symbol described on SO[1] using `\urldef` - but this does not work with the hash symbol. Is there another workaround/solution that works with org-mode? [1] bit.ly/1cwYJaM