From mboxrd@z Thu Jan 1 00:00:00 1970 From: chris.m.malone@gmail.com Subject: Re: Tilde in URL not exported to latex Date: Wed, 20 Oct 2010 19:14:05 +0000 Message-ID: <0016e644020a8cd3e004931136b3@google.com> References: <21239.1287601331@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1501187101==" Return-path: Received: from [140.186.70.92] (port=44582 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8e6y-0008EW-1a for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 15:14:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8e6w-0002jE-Px for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 15:14:07 -0400 Received: from mail-qw0-f71.google.com ([209.85.216.71]:44171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8e6w-0002j9-L1 for emacs-orgmode@gnu.org; Wed, 20 Oct 2010 15:14:06 -0400 Received: by qwi4 with SMTP id 4so2151554qwi.6 for ; Wed, 20 Oct 2010 12:14:06 -0700 (PDT) In-Reply-To: <21239.1287601331@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> 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 Cc: Stephen Eglen , emacs-orgmode@gnu.org --===============1501187101== Content-Type: multipart/alternative; boundary=0016e644020a8cd3cb04931136b0 --0016e644020a8cd3cb04931136b0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Hi Stephen, I recently experienced this issue while adding a reference in a beamer presentation using org-mode. It isn't elegant, but my workaround was to use \sim instead of the tilde character, at least for what is actually displayed in the document - you will still need to use tilde for the actual URL link. Chris On Oct 20, 2010 3:02pm, Stephen Eglen wrote: > 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 "Cc Ce 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, ie this works just fine: > \url{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html} > Thanks, Stephen > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode --0016e644020a8cd3cb04931136b0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Stephen,

I recently experienced this issue while adding a ref= erence in a beamer presentation using org-mode. It isn't elegant, but = my workaround was to use \sim instead of the tilde character, at least for = what is actually displayed in the document - you will still need to use til= de for the actual URL link.

Chris


On Oct 20, 20= 10 3:02pm, Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> wrote:
>= With the following file (a.tex):
>
>
>
>= ; ------------------------------------------------------------
> > * Intro
>
>
>
> This is an exam= ple file that I would like to export
>
> Note that the URL= has a tilde in it.
>
>
>
> =A0http://w= ww.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). =A0If I click on the link it works just f= ine and takes me
>
> to the page.
>
> >
> In the tex file, I see it has been exported as:
>= ;
>
>
> =A0\href{http://www.stat.uni-muenchen.d= e/~leisch/Sweave/FAQ.html}
>
> {http://www.stat.uni-muench= en.de/\~leisch/Sweave/FAQ.html}
>
>
>
> = (my line breaking added). Is the above expected behaviour? =A0Do I have to<= br />>
> mark up my URLs differently? =A0Org mode recognises it= as a url, judging
>
> by the font locking.
>
>
>
>
>
>
>
> I = often use url to format URLs, i.e. this works just fine:
>
&g= t; =A0\url{http://www.stat.uni-muenchen.de/~leisch/Sweave/FAQ.html}
&= gt;
>
>
> Thanks, Stephen
>
> <= br />>
> _______________________________________________
&= gt;
> Emacs-orgmode mailing list
>
> Please use `= Reply All' to send replies to the list.
>
> Emacs-orgm= ode@gnu.org
>
> http://lists.gnu.org/mailman/listinfo/emac= s-orgmode
> --0016e644020a8cd3cb04931136b0-- --===============1501187101== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1501187101==--