> I want to add the names of the references lists and the sections to
> the bookmarks and toc, so I make some changes of the tex file you
> posted to me.
Short answer: Don't do that. If you want to produce bookmarks, use
UTF-8 encoding and nothing else. If you prefer to work with a GBK
editor, call iconv later, for example
iconv -f gbk -t utf8 < foo.tex.gbk > foo.tex.utf8
Attached a solution (with utf8 encoded files). Note the additional
\protect in the use of \citeI to avoid premature expansion (I'll add a
hint to the documentation).
Werner
\documentclass[12pt]{article}
\usepackage{multibib}
\usepackage{CJKutf8}
\begin{CJK*}{UTF8}{gbsn}
\gdef\citeI{发表文章目录}
\end{CJK*}
\newcites{ltex}{\protect\citeI}
\makeatletter
\AtBeginDocument{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\fi}
\AtEndDocument{%
[EMAIL PROTECTED]
[EMAIL PROTECTED]
\fi}
\makeatother
\usepackage{ifpdf}
\ifpdf
\usepackage[pdftex,unicode]{hyperref}
\else
\usepackage[dvipdfm,unicode]{hyperref}
\fi
\begin{document}
\pagestyle{headings}
\begin{CJK*}{UTF8}{gbsn}
\section{简介}
中文参考文献,以及多个bib文件测试: \citeltex{zhang:03a}。
\tableofcontents
\addcontentsline{toc}{section}{发表文章目录}
\bibliographystyleltex{plain}
\bibliographyltex{tex}
\nociteltex{Anderson1963}
\addcontentsline{toc}{section}{参考文献}
\renewcommand{\refname}{参考文献}
\bibliographystyle{plain}
\bibliography{tex}
\clearpage
\end{CJK*}
\end{document}
% This file was created with JabRef 2.3.1.
% Encoding: UTF-8
@BOOK{zhang:03a,
title = {关于新版~CCT~的说明},
year = {2003},
author = {å¼ æž—æ³¢}
}
@ARTICLE{Anderson1963,
author = {{Anderson O L}},
title = {{A simplified method for calculating the debye temperature from
elastic
constants}},
journal = {J. Phys. Chem. Solids},
year = {1963},
volume = {24},
pages = {909},
number = {7},
abstract = {vrh},
owner = {werner},
timestamp = {2008.08.31}
}
_______________________________________________
Cjk maillist - [email protected]
https://lists.ffii.org/mailman/listinfo/cjk