emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Latex export fails with link in headline
@ 2016-11-28  9:03 Scott Otterson
  2016-11-28 11:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Scott Otterson @ 2016-11-28  9:03 UTC (permalink / raw)
  To: Emacs-orgmode@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 678 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1002 bytes --]

[-- Attachment #2: OrgPDFLatexOutputBuffer.txt --]
[-- Type: text/plain, Size: 10686 bytes --]

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"

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-12-06 11:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-28  9:03 Bug: Latex export fails with link in headline Scott Otterson
2016-11-28 11:26 ` Nicolas Goaziou
2016-11-29 12:57   ` Scott Otterson
2016-12-03 15:04     ` Scott Otterson
2016-12-03 21:03       ` Nicolas Goaziou
2016-12-05  8:19         ` Scott Otterson
2016-12-06 11:44           ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).