[texhax] Problems between section and hyperref package
Robin Fairbairns
Robin.Fairbairns at cl.cam.ac.uk
Wed Apr 14 15:55:04 CEST 2010
Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> has anybody solved how to use "section" and "hyperref" packages together?
>
> It seems they are not fully compatible; maybe a hack must be used.
>
> I use "section" package as I need to change how sections look.
section.sty is last date-stamped 1994, so it dates from the pre-hyperref
era.
such old packages (i was recently asked about one of mine) often fail to
work with hyperref -- looks like section.sty is one of them too.
however, you're not stuck with section.sty;
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=secthead
lists other options; i would recommend using titlesec.sty, nowadays. (i
would be pleased to hear of better alternatives -- it's a part of the
faq that is overdue for revision.)
More information about the texhax
mailing list