|
楼主 |
发表于 2008-10-25 00:11:41
|
显示全部楼层
感觉安装都到位了,可不知怎么搞的,汉字还是没法正常显示,
对tex了解较多的大哥们,知道症结所在么?会不会是设置的问题?
下面是测试用tex文件:
\documentclass{article}
\usepackage{CJK}
\begin{CJK*}{GBK}{song}
\title{笑傲江湖}
%\author{evesea}
\end{CJK*}
\begin{document}
\maketitle
\begin{CJK*}{GBK}{song}
汉语
\end{CJK*}
\end{document}
编译后,标题部分显示成一系列引号,
“汉语”二字成为一黑块.
一下是编译的完整信息,很大段是简单重复,
为完整一并放在这里:
slackboy@slackboy:~/texfile$ latex chinese.tex
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./chinese.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/latex/CJK/CJK.sty
(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty)
(/usr/share/texmf/tex/latex/CJK/CJK.enc))
(/usr/share/texmf/tex/latex/CJK/standard.bdg)
(/usr/share/texmf/tex/latex/CJK/extended.enc)
(/usr/share/texmf/tex/latex/CJK/extended.chr) (./chinese.aux)
! Argument of \CJK@XX has an extra }.
<inserted text>
\par
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Argument of \CJK@XX has an extra }.
<inserted text>
\par
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Argument of \CJK@XX has an extra }.
<inserted text>
\par
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Argument of \CJK@XX has an extra }.
<inserted text>
\par
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Argument of \CJK@XX has an extra }.
<inserted text>
\par
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Argument of \CJK@XX has an extra }.
<inserted text>
\par
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
! Undefined control sequence.
\CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces
\fi
l.10 \maketitle
?
LaTeX Warning: No \author given.
(/usr/share/texmf/tex/latex/CJK/GB/c19song.fd)
[1] (./chinese.aux) )
Output written on chinese.dvi (1 page, 560 bytes).
Transcript written on chinese.log.
slackboy@slackboy:~/texfile$ |
|