Dear Danai,
Now I hve diverted from tetex to texlive, and I have successfully
compiled the chinese characters with latex, dvips, ps2psf, pdflatex,
dvipdfm(x)to generate pdf and ps files;furthmore I also can obtain pdf
files with bookmarks by using the hyperref package, the tex headers that I
have used to obtain the chinese bookmarks are as follows:
##############
\usepackage[dvipdfm, CJKbookmarks, bookmarks=true,
bookmarksnumbered=true]{hyperref}
\usepackage{CJK}
\AtBeginDvi{\special{pdf: tounicode GBK-EUC-UCS2}}% for chinese coding in GBK
% \AtBeginDvi{\special{pdf: tounicode GBpc-EUC-UCS2}}% for chinese coding in
GB2312
% \AtBeginDvi{\special{pdf: tounicode UTF8-UCS2}}% for chinese coding in UTF8
##############
If my chinse characterset is GBK,I use the default settings, otherwise,if my
chinese characterset is GB2312 or UTF8, I will decomment the one of the two
lines that I’ ve written above respectively, and meanwhile, comment the GBK
settings。 Than I use latex *Twice* and dvipdfmx *Once* to obtain the ultimate
pdf files with bookmarks。
But now I have problem as follows:
1。 If my chinese codesets are GB2312, GBK or UTF8, than must my tex source
files be
coded in GB2312, GBK or UTF8 respectively? Can I code the tex sourc file other
than the chinese codeset that I’ ve used in the tex files?
2。 When I use the pdftex to generate the pdf files, I get the error
messages as follows:
# # # # # # # # # # # # # # # #
zhaohs@ ubuntu-6: ~/Desktop/test$ pdftex pdftex。 tex
This is pdfeTeXk, Version 3。 141592-1。 30。 4-2。 2 ( Web2C 7。 5。 5)
% &-line parsing enabled。
entering extended mode
( 。 /pdftex。 tex
! Undefined control sequence。
l。 1 \documentclass
{article}
?
# # # # # # # # # # # # # # # # # # #
What’ s the reason of this? And what’ s the differenct betweent pdftex
and pdflatex? How can I use the pdftex to generate the ultimate pdf files
by using the texlive?
Best regards,
Hongsheng。
__________________________________________________
�Ͽ�ע���Ż�����������������?
http://cn.mail.yahoo.com
_______________________________________________
Cjk maillist - [email protected]
http://lists.ffii.org/mailman/listinfo/cjk