On Sun, Feb 18, 2007 at 09:59:02PM +0100, Werner LEMBERG wrote:
> > \documentclass[12pt,a4paper]{article}
> > \usepackage{CJKutf8}
> > \usepackage[T1]{fontenc}
> > \usepackage[dvipdfm]{hyperref}
> > \begin{document}
> > \begin{CJK}{UTF8}{bsmi}
> > \tableofcontents
> > \hypersetup{unicode=true,CJKbookmarks=false,pdfauthor={?????????},
> > pdftitle={?????? PDF outline ??????}}
> >
> > I find that there has some conflicts between the invoke options *unicode*
> > and *CJKbookmarks*, [...]
>
> > and the *CJKbookmarks* option shouldn't be used at all.
>
> This is correct. The `CJKbookmarks' option should only be used for
> bookmarks *not* in Unicode. For example, some acroread versions
> support Big5 for that (this is basically against the PDF specs).
>
> > That is, in order to obtain the right chinese bookmarks, I should
> > write the above preamble lines of my file like this:
> >
> > ===================
> > \documentclass[12pt,a4paper]{article}
> > \usepackage{CJKutf8}
> > \usepackage[T1]{fontenc}
> > \usepackage[unicode,dvipdfm]{hyperref}
> > \begin{document}
> > \begin{CJK}{UTF8}{bsmi}
> > \tableofcontents
> > \hypersetup{pdfauthor={?????????},
> > pdftitle={?????? PDF outline ??????}}
> > ===================
>
> Yep.
>
> > Furthmore, I have read the hyperref's manual, but I cann't still
> > understand the above things I described, and in the hyperref's
> > manual, I cann't find any explains that the option *unicode* cann't
> > be used with the option *CJKbookmarks* simultaneously.
>
> I've CCed Heiko -- perhaps he can add some words to the hyperref
> documentation to explain that explicitly.
I can add the two lines marked by `+':
| CJKbookmarks & boolean & false &
| This option should be used to produce CJK bookmarks.
| Package \verb|hyperref|
| supports both normal and preprocessed mode of the CJK package;
| during the creation of bookmarks, it simply replaces CJK's macros
| with special versions which expand to the corresponding character
| codes. Note that without the `unicode' option of hyperref you get
| PDF files which actually violate the PDF specification because
| non-Unicode character codes are used -- some PDF readers localized
| for CJK languages (most notably Acroread itself) support this.
+ Also note that option `CJKbookmarks' cannot be used together
+ with option `unicode'.
|
| No mechanism is provided to translate non-Unicode bookmarks to
| Unicode; for portable PDF documents only Unicode encoding should
| be used.\\
Yours sincerely
Heiko <[EMAIL PROTECTED]>
_______________________________________________
Cjk maillist - [email protected]
https://lists.ffii.org/mailman/listinfo/cjk