CTex应用hyperref中文书签中文可拷贝

之前一直纠结于这个问题,今天无意间在CTex论坛找到了解决办法。

\documentclass[dvipdfm,12pt,a4paper,winfonts]{article}
\usepackage{CJK,array,booktabs,threeparttable}
\usepackage{ccmap}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage[pdftex]{color,graphicx}            %[pdftex]只有用PDF TeXify的时候才加入,如果LaTex+dvi2pdf就删掉
\graphicspath{{figures/}}
\usepackage{indentfirst}
\usepackage[CJKbookmarks,bookmarks=true,unicode,dvipdfm]{hyperref}    %这里加入了dvipdfm之后就可以制作中文书签了
\hypersetup{colorlinks, linkcolor=green, citecolor=green, urlcolor=blue,%   %hyperref的这一大堆设置是保证中文可以复制
plainpages=true, bookmarksopen=false,%
pdfhighlight=/P, %/I(inverse) /N(no effect) /O(outline) /P(inset)
pdfstartview=FitH, %FitBH, FitB
pdfview=FitH,
pdfpagemode=UseOutlines, %None, FullScreen, UseThumbs
}

如果是用Pdf Texify编译的话,需要PDF LaTex两次1次,然后再Pdf Texify。

如果是LaTex然后再dvi2pdf,只要编译一次就好了。

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s