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

--- My setup --------------------------------------------------------------
Emacs  : GNU Emacs 25.1.1 (i686-w64-mingw32)
 of 2016-09-17
Package: Org mode version 9.0.1 (9.0.1-elpa @
c:/Users/scott/OneDrive/scotto/.emacs.d/elpa/org-20161118/)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LC_CTYPE = "C",
        LC_NUMERIC = "C",
        LANG = "ENU"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Latexmk: This is Latexmk, John Collins, 5 Sep. 2016, version: 4.48.
Rule 'pdflatex': Rules & subrules not known to be previously run:
   pdflatex
Rule 'pdflatex': The following rules & subrules became out-of-date:
      'pdflatex'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -recorder -output-directory="./"  "./tmp.tex"'
------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/W32TeX) 
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(.//./tmp.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(c:/texlive/2016/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2016/texmf-dist/tex/latex/base/size11.clo))
(c:/texlive/2016/texmf-dist/tex/latex/base/inputenc.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/utf8.def
(c:/texlive/2016/texmf-dist/tex/latex/base/t1enc.dfu)
(c:/texlive/2016/texmf-dist/tex/latex/base/ot1enc.dfu)
(c:/texlive/2016/texmf-dist/tex/latex/base/omsenc.dfu)))
(c:/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/t1enc.def))
(c:/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/grffile.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(c:/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty))
(c:/texlive/2016/texmf-dist/tex/latex/tools/longtable.sty)
(c:/texlive/2016/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
(c:/texlive/2016/texmf-dist/tex/latex/graphics/rotating.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty))
(c:/texlive/2016/texmf-dist/tex/generic/ulem/ulem.sty)
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/texlive/2016/texmf-dist/tex/latex/base/textcomp.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/ts1enc.def
(c:/texlive/2016/texmf-dist/tex/latex/base/ts1enc.dfu)))
(c:/texlive/2016/texmf-dist/tex/latex/amsfonts/amssymb.sty
(c:/texlive/2016/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(c:/texlive/2016/texmf-dist/tex/latex/capt-of/capt-of.sty)
(c:/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(c:/texlive/2016/texmf-dist/tex/latex/hyperref/pd1enc.def)
(c:/texlive/2016/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(c:/texlive/2016/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hpdftex.

(c:/texlive/2016/texmf-dist/tex/latex/hyperref/hpdftex.def
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (.//tmp.aux
) (c:/texlive/2016/texmf-dist/tex/latex/base/ts1cmr.fd)
(c:/texlive/2016/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (c:/texlive/2016/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/grfext.sty)
(c:/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(c:/texlive/2016/texmf-dist/tex/latex/hyperref/nameref.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
! Illegal parameter number in definition of \GetTitleStringResult.
<to be read again> 
                   C
l.28 ...groups.html#Column-groups}{A random link}}
                                                  
? 
! Emergency stop.
<to be read again> 
                   C
l.28 ...groups.html#Column-groups}{A random link}}
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on .//tmp.log.
'tmp.fls' and './tmp.fls' are identical (not copied) at 
c:\texlive\2016\texmf-dist\scripts\latexmk\latexmk.pl line 6910.
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      './tmp.aux'
      'tmp.aux'
------------
Run number 2 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -recorder -output-directory="./"  "./tmp.tex"'
------------
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/W32TeX) 
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(.//./tmp.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(c:/texlive/2016/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(c:/texlive/2016/texmf-dist/tex/latex/base/size11.clo))
(c:/texlive/2016/texmf-dist/tex/latex/base/inputenc.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/utf8.def
(c:/texlive/2016/texmf-dist/tex/latex/base/t1enc.dfu)
(c:/texlive/2016/texmf-dist/tex/latex/base/ot1enc.dfu)
(c:/texlive/2016/texmf-dist/tex/latex/base/omsenc.dfu)))
(c:/texlive/2016/texmf-dist/tex/latex/base/fontenc.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/t1enc.def))
(c:/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(c:/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(c:/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(c:/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(c:/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(c:/texlive/2016/texmf-dist/tex/latex/graphics-def/pdftex.def
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/grffile.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/ifpdf.sty)
(c:/texlive/2016/texmf-dist/tex/generic/ifxetex/ifxetex.sty)
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/kvoptions.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/etexcmds.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/ifluatex.sty))))
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty))
(c:/texlive/2016/texmf-dist/tex/latex/tools/longtable.sty)
(c:/texlive/2016/texmf-dist/tex/latex/wrapfig/wrapfig.sty)
(c:/texlive/2016/texmf-dist/tex/latex/graphics/rotating.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/ifthen.sty))
(c:/texlive/2016/texmf-dist/tex/generic/ulem/ulem.sty)
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amstext.sty
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsgen.sty))
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(c:/texlive/2016/texmf-dist/tex/latex/amsmath/amsopn.sty))
(c:/texlive/2016/texmf-dist/tex/latex/base/textcomp.sty
(c:/texlive/2016/texmf-dist/tex/latex/base/ts1enc.def
(c:/texlive/2016/texmf-dist/tex/latex/base/ts1enc.dfu)))
(c:/texlive/2016/texmf-dist/tex/latex/amsfonts/amssymb.sty
(c:/texlive/2016/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
(c:/texlive/2016/texmf-dist/tex/latex/capt-of/capt-of.sty)
(c:/texlive/2016/texmf-dist/tex/latex/hyperref/hyperref.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-hyperref.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/hobsub-generic.sty))
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/auxhook.sty)
(c:/texlive/2016/texmf-dist/tex/latex/hyperref/pd1enc.def)
(c:/texlive/2016/texmf-dist/tex/latex/latexconfig/hyperref.cfg)
(c:/texlive/2016/texmf-dist/tex/latex/url/url.sty))

Package hyperref Message: Driver (autodetected): hpdftex.

(c:/texlive/2016/texmf-dist/tex/latex/hyperref/hpdftex.def
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)) (.//tmp.aux
) (c:/texlive/2016/texmf-dist/tex/latex/base/ts1cmr.fd)
(c:/texlive/2016/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (c:/texlive/2016/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty
(c:/texlive/2016/texmf-dist/tex/latex/oberdiek/grfext.sty)
(c:/texlive/2016/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(c:/texlive/2016/texmf-dist/tex/latex/hyperref/nameref.sty
(c:/texlive/2016/texmf-dist/tex/generic/oberdiek/gettitlestring.sty))
(.//tmp.out) (.//tmp.out)
! Illegal parameter number in definition of \GetTitleStringResult.
<to be read again> 
                   C
l.28 ...groups.html#Column-groups}{A random link}}
                                                  
? 
! Emergency stop.
<to be read again> 
                   C
l.28 ...groups.html#Column-groups}{A random link}}
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on .//tmp.log.
'tmp.fls' and './tmp.fls' are identical (not copied) at 
c:\texlive\2016\texmf-dist\scripts\latexmk\latexmk.pl line 6910.
Failure to make './tmp.pdf'
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 256
Latexmk: Errors, in force_mode: so I tried finishing targets
C:\texlive\2016\bin\win32\runscript.tlu:679: command failed with exit code 12:
perl.exe c:\texlive\2016\texmf-dist\scripts\latexmk\latexmk.pl -pdf 
-output-directory="./" -f "./tmp.tex"

Reply via email to