The main problem in your case is that the current version of magyar.ldf
which is loaded with
\usepackage[hungarian]{babel}
is broken with respect to the interaction with hyperref
.
There is a different version available on TeX Live systems, located in
/usr/local/texlive/2012/texmf-dist/doc/latex/magyar/magyar.ldf
You can copy it in the working directory or in a folder
~/texmf/tex/latex/magyar
(~/Library/texmf/tex/latex/magyar/
with MacTeX on Mac OS X) that you need to create.
Then call babel
as
\def\magyarOptions{suggestions=no}\usepackage[magyar]{babel}
The first line is just to avoid spurious and almost meaningless messages.
It's not the official version of magyar.ldf
, but it seems to work.
On the other hand, the Polyglossia module for Hungarian seems to work, so you can consider, when using XeLaTeX, to call
\usepackage{polyglossia}\setmainlanguage{magyar}