From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: Re: Bug: Latex export fails with link in headline Date: Sat, 3 Dec 2016 16:04:54 +0100 Message-ID: References: <87mvgjg805.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a1145a836f7a45f0542c26248 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDBsj-00057F-G1 for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 10:05:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDBsf-0005R2-GD for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 10:05:41 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:38651) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDBsf-0005QT-5q for emacs-orgmode@gnu.org; Sat, 03 Dec 2016 10:05:37 -0500 Received: by mail-wm0-x22c.google.com with SMTP id f82so39540404wmf.1 for ; Sat, 03 Dec 2016 07:05:36 -0800 (PST) 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" To: Scott Otterson , "Emacs-orgmode@gnu.org" --001a1145a836f7a45f0542c26248 Content-Type: multipart/alternative; boundary=001a1145a836f7a4580542c26246 --001a1145a836f7a4580542c26246 Content-Type: text/plain; charset=UTF-8 Hi Nicolas, Could you please check the .tex output you got when exported my .org file example (attached again)? In the .tex I get (also attached), it's clear that org-mode has forgotten to escape the '#' in the URL. In headlink.tex, if I replace '#' with ''\#', then latexmk can successfully make a pdf. Do you see something different? Thanks, Scott On Tue, Nov 29, 2016 at 1:57 PM, Scott Otterson wrote: > Very strange. I moved to a different Windows machine, totally reinstalled > elpa/melpa, and the tmp.org file that emailed the list still failed. I > even copied tmp.org out of my email to be sure we're looking at the same > thing. > > Could it be something like you're running Linux and I'm running Windows, > or like I'm running TexLive and you're running MikTex? I've attached the > output of M-x report-emacs-bug so you can see my whole setup. > > I've also attached a different oddly crashing org file, and the latex > error buffer I get after typing C-c C-e l o > > Scott > > On Mon, Nov 28, 2016 at 12:26 PM, Nicolas Goaziou > wrote: > >> Hello, >> >> Scott Otterson writes: >> >> > Latex export sometimes fails when I put a link in a headline Usually, >> > links in headlines work fine but below is an example that doesn't (error >> > message in emacs buffer attached); If I remove the link, the export is >> > successful. >> > >> > -- tmp.org ------------------------------------------------------------ >> ----- >> > >> > * Some section [[ >> > http://orgmode.org/manual/Column-groups.html#Column-groups][A random >> link]] >> > >> > - Item A >> > - Item B >> > - Item C >> >> FWIW I cannot reproduce it. >> >> Regards, >> >> -- >> Nicolas Goaziou >> > > --001a1145a836f7a4580542c26246 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Nicolas,

Could you please check the = .tex output you got when exported my .org file example (attached again)?=C2= =A0 In the .tex I get (also attached), it's clear that org-mode has for= gotten to escape the '#' in the URL.=C2=A0 In headlink.tex, if I re= place '#' with ''\#', then latexmk can successfully mak= e a pdf.

Do you see something different?

Thanks,

Scott

On Tue, Nov 29, 2016 at 1:57 PM,= Scott Otterson <scotto@sharpleaf.org> wrote:
Very strange.=C2=A0 I moved to a di= fferent Windows machine, totally reinstalled elpa/melpa, and the tmp.org file that emailed the list s= till failed.=C2=A0 I even copied tmp.org out of my email to be sure we're looking at the same thi= ng. =C2=A0

Could it be something like you're running= Linux and I'm running Windows, or like I'm running TexLive and you= 're running MikTex?=C2=A0 I've attached the output of M-x report-em= acs-bug so you can see my whole setup.

I've also att= ached a different oddly crashing org file, and the latex error buffer I get= after typing C-c C-e l o

Scott
=

On M= on, Nov 28, 2016 at 12:26 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr= > wrote:
Hello,

Scott Otterson <scotto@sharpleaf.org> writes:

> Latex export sometimes fails when I put a link in a headline=C2=A0 Usu= ally,
> links in headlines work fine but below is an example that doesn't = (error
> message in emacs buffer attached); If I remove the link, the export is=
> successful.
>
> -- tmp= .org ------------------------------------------------------------<= wbr>-----
>
> * Some section=C2=A0 [[
> http://orgmode.org/manual/Column-groups.html#Column-groups][A random link]]
>
>=C2=A0 =C2=A0- Item A
>=C2=A0 =C2=A0- Item B
>=C2=A0 =C2=A0- Item C

FWIW I cannot reproduce it.

Regards,

--
Nicolas Goaziou


--001a1145a836f7a4580542c26246-- --001a1145a836f7a45f0542c26248 Content-Type: application/octet-stream; name="headlink.org" Content-Disposition: attachment; filename="headlink.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iw9cl57n3 KiBTb21lIHNlY3Rpb24gIFtbaHR0cDovL29yZ21vZGUub3JnL21hbnVhbC9Db2x1bW4tZ3JvdXBz Lmh0bWwjQ29sdW1uLWdyb3Vwc11bQSByYW5kb20gbGlua11dDQoNCiAgLSBJdGVtIEENCiAgLSBJ dGVtIEINCiAgLSBJdGVtIEMNCg== --001a1145a836f7a45f0542c26248 Content-Type: application/x-tex; name="headlink.tex" Content-Disposition: attachment; filename="headlink.tex" Content-Transfer-Encoding: base64 X-Attachment-Id: f_iw9clgdh4 JSBDcmVhdGVkIDIwMTYtMTItMDMgU2F0IDE1OjU5DQolIEludGVuZGVkIExhVGVYIGNvbXBpbGVy OiBwZGZsYXRleA0KXGRvY3VtZW50Y2xhc3NbMTFwdF17YXJ0aWNsZX0NClx1c2VwYWNrYWdlW3V0 Zjhde2lucHV0ZW5jfQ0KXHVzZXBhY2thZ2VbVDFde2ZvbnRlbmN9DQpcdXNlcGFja2FnZXtncmFw aGljeH0NClx1c2VwYWNrYWdle2dyZmZpbGV9DQpcdXNlcGFja2FnZXtsb25ndGFibGV9DQpcdXNl cGFja2FnZXt3cmFwZmlnfQ0KXHVzZXBhY2thZ2V7cm90YXRpbmd9DQpcdXNl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