On Saturday, October 4, 2008 at 15:26, [EMAIL PROTECTED] wrote:
>> 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).
Thanks a lot, but I'm afraid that the bibtex is not work with the
utf-8 encoded aux files. In detail, when I use the following command
sequence, latex--bibtex--latex, on the sample you
posted here with the utf-8 encoding, I will meet the error like this:
-----------------------------------------
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\UTF8\UTF8.chr))
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\hyperref\nameref.sty
("C:\Program Files\MiKTeX 2.7\tex\latex\oberdiek\refcount.sty"))
(cjk_preamble.out) (cjk_preamble.out)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\UTF8\UTF8.enc)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\UTF8\UTF8.chr)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\UTF8\c70gbsn.fd)
LaTeX Warning: Citation `zhang:03a' on page 1 undefined on input line 38.
(cjk_preamble.toc) (ltex.bbl
LaTeX Font Warning: Font shape `C70/gbsn/m/it' undefined
(Font) using `C70/gbsn/m/n' instead on input line 5.
! LaTeX Error: Command \textperthousand unavailable in encoding OT1.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 \newblock {\em 氓鈥β趁ぢ号矫︹€撀懊р€
藛~CCT~莽拧鈥灻疵λ溑絵.
?
------------------------------------------------------
Why does this happen?
Regards,
--
Hongsheng Zhao <[EMAIL PROTECTED]>
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences
GnuPG DSA: 0xD108493
2008-10-4
_______________________________________________
Cjk maillist - [email protected]
https://lists.ffii.org/mailman/listinfo/cjk