emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] [BUG] Bad handling of "\" in link names


From: Nick Dokos
Subject: Re: [Orgmode] [BUG] Bad handling of "\" in link names
Date: Thu, 03 Dec 2009 15:29:52 -0500

Nicolas Girard <address@hidden> wrote:

> 2009/12/3 Nick Dokos <address@hidden>:
> > Nicolas Girard <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]