From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Tilde in URL not exported to latex Date: Wed, 20 Oct 2010 20:02:11 +0100 Message-ID: <21239.1287601331@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> Return-path: Received: from [140.186.70.92] (port=43564 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8dvV-0000QE-0m for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 15:02:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8dvT-0000MI-PX for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 15:02:16 -0400 Received: from ppsw-51.csi.cam.ac.uk ([131.111.8.151]:43045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8dvT-0000M2-LP for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 15:02:15 -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: emacs-orgmode@gnu.org Cc: Stephen Eglen With the following file (a.tex): ------------------------------------------------------------ * Intro This is an example file that I would like to export Note that the URL has a tilde in it. http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html ------------------------------------------------------------ When I do "C-c C-e d" in this buffer, the latex -> pdf exporter displays a pdf, but I see that the tilde in the URL appears above the following character (l). If I click on the link it works just fine and takes me to the page. In the tex file, I see it has been exported as: \href{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html} {http://www.stat.uni-muenchen.de/\~leisch/Sweave/FAQ.html} (my line breaking added). Is the above expected behaviour? Do I have to mark up my URLs differently? Org mode recognises it as a url, judging by the font locking. I often use url to format URLs, i.e. this works just fine: \url{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html} Thanks, Stephen