emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Orgmode fails to export specific web-links as latex/pdf


From: Yury Bulka
Subject: Re: [O] Orgmode fails to export specific web-links as latex/pdf
Date: Tue, 16 Jul 2013 21:44:00 +0300

One more thing, related to unicode inside the href of the link:

[[https://commons.wikimedia.org/wiki/File:%D0%91%D1%83%D0%B7%D0%BE%D0%BA.ogg][https://commons.wikimedia.org/wiki/File:Бузок.ogg]]

Turns into:
\href{https://commons.wikimedia.org/wiki/File:Бузок.ogg}{\url{https://commons.wikimedia.org/wiki/File:Бузок.ogg}}

I.e. for some reason the href gets url-decoded. Such links don't work in evince.

2013/7/16, Yury Bulka <address@hidden>:
> A quick related observation. Consider this Org-mode link:
> [[https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(%C2%AB%D0%9F%D1%96%D1%81%D0%BD%D1%8F_%D0%BF%D1%80%D0%B8_%D0%BA%D0%BE%D0%BB%D0%B8%D1%81%D1%86%D1%96%C2%BB).ogg][https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(«Пісня_при_колисці»).ogg]]
>
> The LaTeX code it generates:
> \href{https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(«Пісня_при_колисці»).ogg}{\url{https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby}$_{\text{(«Пісня}_{\text{при}}_{\text{колисці»}}\text{)}}$.ogg}
>
> Or if I add a "#+OPTIONS: ^:nil" line, then LaTeX code will be the
> following:
> \href{https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(«Пісня_при_колисці»).ogg}{\url{https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby}\_(«Пісня\_при\_колисці»).ogg}
>
> I.e. it wraps only part of the description of the link with \url due
> to the parentheses in it.
>
> 2013/7/10, Bastien <address@hidden>:
>> Nicolas Goaziou <address@hidden> writes:
>>
>>> I will have a look at it, but this is not clear to me either. I still
>>> have to understand what should be escaped, and when.
>>
>> All right, no hurry!  And thanks a lot in advance,
>>
>> --
>>  Bastien
>>
>>
>



reply via email to

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