From: Nick Dokos <nicholas.dokos@hp.com>
To: Nicolas Girard <nicolas.girard@nerim.net>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Bad handling of "\" in link names
Date: Thu, 03 Dec 2009 15:29:52 -0500 [thread overview]
Message-ID: <13862.1259872192@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from Nicolas Girard <nicolas.girard@nerim.net> of "Thu\, 03 Dec 2009 21\:07\:16 +0100." <51b0095d0912031207w7f709871se9b57d0d59935200@mail.gmail.com>
Nicolas Girard <nicolas.girard@nerim.net> wrote:
> 2009/12/3 Nick Dokos <nicholas.dokos@hp.com>:
> > Nicolas Girard <nicolas.girard@nerim.net> wrote:
> >
> >> hi all,
> >> as title says, a link such as
> >> [[http://www.somewhere.org][\maketitle]]
> >> is badly handled.
> >>
> > In what way?
> >
>
> By the LaTeX exporter.
> It gets translated into
> \href{http://www.somewhere.org}{\maketitle}
> whereas I'd have expected
> \href{http://www.somewhere.org}{\\maketitle}
>
AFAICT, it has nothing to do with links:
\foo
in normal text, becomes \foo in the latex export.
Moreover, even if org did what you expected, I doubt that LaTeX would do
anything reasonable with the result (at least, a few tentative tests here
produce either LaTeX errors - e.g. if the link is in a headline - or
the \\ is interpreted as a newline - if the link is in the body of a paragraph.)
Nick
prev parent reply other threads:[~2009-12-03 20:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 17:42 [BUG] Bad handling of "\" in link names Nicolas Girard
2009-12-03 18:13 ` Nick Dokos
2009-12-03 20:07 ` Nicolas Girard
2009-12-03 20:29 ` Nick Dokos [this message]
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=13862.1259872192@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicolas.girard@nerim.net \
/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).