From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yury Bulka Subject: Re: Orgmode fails to export specific web-links as latex/pdf Date: Tue, 16 Jul 2013 21:44:00 +0300 Message-ID: References: <87y59gt27c.fsf@bzg.ath.cx> <877ggzn8tq.fsf@gmail.com> <87a9lvpytg.fsf@bzg.ath.cx> <87obaaa8z2.fsf@gmail.com> <87d2qqwq01.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzAEE-0007im-OG for emacs-orgmode@gnu.org; Tue, 16 Jul 2013 14:44:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzAED-00073I-FZ for emacs-orgmode@gnu.org; Tue, 16 Jul 2013 14:44:02 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode , Nicolas Goaziou , Mark Edgington 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.og= g][https://commons.wikimedia.org/wiki/File:=D0=91=D1=83=D0=B7=D0=BE=D0=BA.o= gg]] Turns into: \href{https://commons.wikimedia.org/wiki/File:=D0=91=D1=83=D0=B7=D0=BE=D0= =BA.ogg}{\url{https://commons.wikimedia.org/wiki/File:=D0=91=D1=83=D0=B7=D0= =BE=D0=BA.ogg}} I.e. for some reason the href gets url-decoded. Such links don't work in ev= ince. 2013/7/16, Yury Bulka : > A quick related observation. Consider this Org-mode link: > [[https://commons.wikimedia.org/wiki/File:Lysenko-Lullaby_(%C2%AB%D0%9F%D= 1%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-Lulla= by_(=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]] > > The LaTeX code it generates: > \href{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}{\url{https://commons.wikimedia.org/wiki/File:Ly= senko-Lullaby}$_{\text{(=C2=AB=D0=9F=D1=96=D1=81=D0=BD=D1=8F}_{\text{=D0=BF= =D1=80=D0=B8}}_{\text{=D0=BA=D0=BE=D0=BB=D0=B8=D1=81=D1=86=D1=96=C2=BB}}\te= xt{)}}$.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_(=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}{\url{https://commons.wikimedia.org/wiki/File:Ly= senko-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} > > I.e. it wraps only part of the description of the link with \url due > to the parentheses in it. > > 2013/7/10, Bastien : >> Nicolas Goaziou 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 >> >> >