Friday, March 28, 2008

CJKbookmarks with dvipdfm

Today I eventually managed to create a PDF file with Chinese bookmark.
Suppose the LaTeX source file is foo.tex:
  1. Insert the following code into preamble section:
    \usepackage[CJKbookmarks,dvipdfm,bookmarksnumbered=true,%
    colorlinks=true,linkbordercolor={1 1 1},%
    linkcolor=blue,citecolor=blue,urlcolor=blue]{hyperref}

  2. The following command line create the PDF file.
    1. latex foo.tex
    2. gbk2uni foo.out
    3. latex foo.tex
    4. dvipdfm foo.dvi
The linkbordercolor option will change the color of link border to white other than the default red color.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home