i use pdflatex to generate pdf files. my source files are all utf-8 encoded because of non-english characters. without \usepackage{hyperref}
code, they can be compiled without any problem. but when i put \usepackage{hyperref}
(even without any \href{}{}
code) in the package list, an error would occur, saying
**************************************
! Use of \@chapter doesn't match its definition.
\CJK@altchar ...fx \csname \reserved@a \endcsname
\relax \CJKsymbol {\@tempc...
l.1 \chapter{XXX}
?
**************************************
where "XXX" represents non-english characters.
then i googled a lot, finding the cause is that hyperref uses pdftex drivers, which doesn't work with utf-8 encoded files. i checked this page: http://www.tug.org/applications/hyperref/manual.html , and failed to find any driver suitable for pdflatex.
i tried \usepackage[utf8]{inputenc}
, but still couldn't get it to work.
so anyone could help me? thank you!