From: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
To: emacs-orgmode@gnu.org
Cc: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Subject: Tilde in URL not exported to latex
Date: Wed, 20 Oct 2010 20:02:11 +0100 [thread overview]
Message-ID: <21239.1287601331@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com> (raw)
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
next reply other threads:[~2010-10-20 19:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 19:02 Stephen Eglen [this message]
2010-10-20 19:14 ` Tilde in URL not exported to latex chris.m.malone
2010-10-21 15:21 ` Stephen Eglen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21239.1287601331@cpc13-cmbg15-2-0-cust889.5-4.cable.virginmedia.com \
--to=s.j.eglen@damtp.cam.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).