i am using CJK LaTeX (of course) and vntex (most recent) with MiKTeX (most recent stable release) to generate a book with an index. i am using makeindex to do the index generation. here is my sample code:
------
\documentclass[12pt]{article}
\usepackage{CJK}
\usepackage{pinyin}
\usepackage[utf8]{vietnam}
\usepackage{makeidx}
\makeindex
\begin{document}
\begin{CJK}{UTF8}{song}
我是美國人\index{美國 mỹ quốc}
我不會說中文\index{cannot speak}
\end{CJK}
\printindex
\end{document}
--------
i run latex on the file.. it runs file; then i run makeindex on the file, it runs fine. then i run latex on the file again, and it starts complaining. the error message is:
------------
C:\temp\tests>latex cjk
This is e-TeX, Version 3.141592-2.2 (MiKTeX 2.4)
entering extended mode
(cjk.tex
LaTeX2e <2003/12/01>
Babel <v3.8g> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
(C:\texmf\tex\latex\base\article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(C:\texmf\tex\latex\base\size12.clo)) (C:\texmf\tex\latex\CJK\CJK.sty
(C:\texmf\tex\latex\CJK\mule\MULEenc.sty) (C:\texmf\tex\latex\CJK\CJK.enc))
(C:\texmf\tex\latex\CJK\pinyin.sty) (C:\texmf\tex\latex\vntex\vietnam.sty
(C:\texmf\tex\latex\base\ifthen.sty) (C:\texmf\tex\latex\base\fontenc.sty
(C:\texmf\tex\latex\vntex\t5enc.def) (C:\texmf\tex\latex\vntex\t5cmr.fd))
(C:\texmf\tex\latex\base\inputenc.sty (C:\texmf\tex\latex\base\utf8.def
(C:\texmf\tex\latex\base\t1enc.dfu) (C:\texmf\tex\latex\base\ot1enc.dfu)
(C:\texmf\tex\latex\base\omsenc.dfu) (C:\texmf\tex\latex\vntex\t5enc.dfu)))
(C:\texmf\tex\latex\vntex\vncaps.tex)) (C:\texmf\tex\latex\base\makeidx.sty)
Writing index file cjk.idx
(cjk.aux) (C:\texmf\tex\latex\CJK\UTF8\UTF8.bdg)
(C:\texmf\tex\latex\CJK\UTF8\UTF8.enc) (C:\texmf\tex\latex\CJK\UTF8\UTF8.chr)
(C:\texmf\tex\latex\CJK\UTF8\c70song.fd) (cjk.ind [1]
! Undefined control sequence.
[EMAIL PROTECTED] ...endcsname [EMAIL PROTECTED]
\fi
l.7 \item 美
國 mỹ quốc, 1
?
! Undefined control sequence.
[EMAIL PROTECTED] ...endcsname [EMAIL PROTECTED]
\fi
l.7 \item 美國
mỹ quốc, 1
?
! Undefined control sequence.
[EMAIL PROTECTED] ...endcsname [EMAIL PROTECTED]
\fi
l.7 \item 美國 mỹ
quốc, 1
?
! Undefined control sequence.
[EMAIL PROTECTED] ...endcsname [EMAIL PROTECTED]
\fi
l.7 \item 美國 mỹ quố
c, 1
?
[2]) (cjk.aux) )
Output written on cjk.dvi (2 pages, 844 bytes).
Transcript written on cjk.log.
C:\temp\tests> latex cjk
<some stuff cut out..............>
(C:\texmf\tex\latex\CJK\UTF8\c70song.fd) (cjk.ind [1]
! Package inputenc Error: Unicode char \u8:美 not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.7 \item 美
國 mỹ quốc, 1
?
! Package inputenc Error: Unicode char \u8:國 not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.7 \item 美國
mỹ quốc, 1
?
[2]) (cjk.aux) )
Output written on cjk.dvi (2 pages, 828 bytes).
Transcript written on cjk.log .
C:\temp\tests>
-------
i view the cjk.dvi file and see that the ENGLISH index entry (`cannot speak') shows up fine; however, the chinese and vietnamese index entry does not show up correctly. how do i fix this problem? i am sure that this must be a common problem but i could not find an answer from google. thank you.
_______________________________________________ Cjk maillist - [EMAIL PROTECTED] http://lists.ffii.org/mailman/listinfo/cjk
