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 >> > >