* [BUG] Bad handling of "\" in link names
@ 2009-12-03 17:42 Nicolas Girard
2009-12-03 18:13 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Girard @ 2009-12-03 17:42 UTC (permalink / raw)
To: emacs-orgmode
hi all,
as title says, a link such as
[[http://www.somewhere.org][\maketitle]]
is badly handled.
--
Nicolas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Bad handling of "\" in link names
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
0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2009-12-03 18:13 UTC (permalink / raw)
To: Nicolas Girard; +Cc: emacs-orgmode
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?
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Bad handling of "\" in link names
2009-12-03 18:13 ` Nick Dokos
@ 2009-12-03 20:07 ` Nicolas Girard
2009-12-03 20:29 ` Nick Dokos
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Girard @ 2009-12-03 20:07 UTC (permalink / raw)
To: emacs-orgmode
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}
--
Nicolas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [BUG] Bad handling of "\" in link names
2009-12-03 20:07 ` Nicolas Girard
@ 2009-12-03 20:29 ` Nick Dokos
0 siblings, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2009-12-03 20:29 UTC (permalink / raw)
To: Nicolas Girard; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-12-03 20:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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).