[texhax] footnotemark in \section{}

Gaspar Bakos gbakos at cfa.harvard.edu
Sun Oct 29 21:19:55 CET 2006


Hi,

I am trying to put a footnote in the text of a section label.
I understand that the way here is to use \footnotemark and then \footnotetext.
But even this solution does not work:

! Argument of \@sect has an extra }.
<inserted text>
                \par
l.63 2)\footnotemark}

If I hit enter agressively, it runs to the end, and the footnotemark
gets to its proper place. But latex can not be run in batchmode as it
exits at this point.

Any ideas?

Cheers,
Gaspar


----------------------------------------------------------
Full LOG (under FC5 linux):

This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./main.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size12.clo)) (./preamble.tex
(/usr/share/texmf/tex/latex/comment/comment.sty Excluding comment 'comment')
(./aastex_hack.sty (/usr/share/texmf/tex/latex/natbib/natbib.sty))
(/usr/share/texmf/tex/latex/graphics/epsfig.sty
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/graphics/graphics.cfg)
(/usr/share/texmf/tex/latex/graphics/dvips.def))))
(/usr/share/texmf/tex/latex/subfigure/subfigure.sty
****************************************
* Local config file subfigure.cfg used *
****************************************
(/usr/share/texmf/tex/latex/subfigure/subfigure.cfg))
(/usr/share/texmf/tex/latex/caption/caption.sty
(/usr/share/texmf/tex/latex/caption/caption3.sty))
(/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty)) (./newcommand_gen.tex)
(./newcommand_spec.tex) (./main.aux)
(/usr/share/texmf/tex/latex/ms/ragged2e.sty
(/usr/share/texmf/tex/latex/ms/everysel.sty))
....
Here comes the error message


More information about the texhax mailing list