当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 4 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 按照置顶帖子设置好了,可是DVI中的中文都是乱码
帖子发表于 : 2006-07-28 0:11 
头像

注册: 2005-10-16 23:26
帖子: 532
地址: 泉州
送出感谢: 0 次
接收感谢: 3
安装好后测试了一下,中文全是乱码,英文显示正常。
不知是字体安装设置问题还是什么?
我的TEX源文件是这样的:
引用:
\documentclass{article}
\usepackage{CJK}
\begin{document}
\begin{CJK}{GBK}{song}
这是latex
\end{CJK}
\end{document}



$$$$$$$$$$$$
编译的log信息如下:
[quote]This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4) (format=latex 2006.7.26) 28 JUL 2006 08:30
entering extended mode
**tex-test.tex
(./tex-test.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-tetex/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-tetex/tex/latex/base/size10.clo
File: size10.clo 2004/02/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texmf/tex/latex/CJK/CJK.sty
Package: CJK 2002/06/17 4.5.1

(/usr/share/texmf/tex/latex/CJK/mule/MULEenc.sty
File: MULEenc.sty 2002/06/17 4.5.1
)
(/usr/share/texmf/tex/latex/CJK/CJK.enc
File: CJK.enc 2002/06/17 4.5.1
)
LaTeX Info: Redefining \selectfont on input line 661.
\CJK@indent=\box26
)
No file tex-test.aux.
\openout1 = `tex-test.aux'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C00/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C09/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C10/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C20/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C19/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C40/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C42/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C43/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C50/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C52/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C49/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C60/mj/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C61/mj/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C63/mj/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C64/mj/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C65/mj/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C70/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C31/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C32/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C33/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C34/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C35/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C36/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C37/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C80/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C81/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C01/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C11/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C21/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C41/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
LaTeX Font Info: Checking defaults for C62/song/m/n on input line 3.
LaTeX Font Info: ... okay on input line 3.
(/usr/share/texmf/tex/latex/CJK/standard.bdg
File: standard.bdg 2002/06/17 4.5.1
)
(/usr/share/texmf/tex/latex/CJK/extended.enc
File: extended.enc 2002/06/17 4.5.1
)
(/usr/share/texmf/tex/latex/CJK/extended.chr
File: extended.chr 2002/06/17 4.5.1
)
LaTeX Font Info: Try loading font information for C19+song on input line 5.

(/home/jazzihong/.texmf/tex/latex/CJK/GB/c19song.fd) [1

] (./tex-test.aux) )
Here is how much of TeX's memory you used:
1194 strings out of 94501
12036 string characters out of 1175811
59366 words of memory out of 1000000
4422 multiletter control sequences out of 10000+50000
4517 words of font info for 17 fonts, out of 500000 for 2000
580 hyphenation exceptions out of 8191
23i,4n,20p,165b,280s stack positions out of 1500i,500n,5000p,200000b,5000s
[/quote]


_________________
You make it fun
It will make you fun


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-07-28 16:31 
头像

注册: 2005-08-15 0:04
帖子: 1880
地址: 南7技校
送出感谢: 0 次
接收感谢: 0 次
首先,确保你的tex文档保存为 GBK 的编码!
如果保存为GBK编码还有问题,兄弟不妨抓一个图放上来看看.不过我以为最可能的原因就是文件编码问题.
置顶帖的跟帖中有这样的问题,也贴出了截图,有空看看是不是一样的症状.


_________________
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2006-07-29 12:00 
头像

注册: 2005-10-16 23:26
帖子: 532
地址: 泉州
送出感谢: 0 次
接收感谢: 3
zhan 写道:
首先,确保你的tex文档保存为 GBK 的编码!
如果保存为GBK编码还有问题,兄弟不妨抓一个图放上来看看.不过我以为最可能的原因就是文件编码问题.
置顶帖的跟帖中有这样的问题,也贴出了截图,有空看看是不是一样的症状.

谢谢zhan兄啊,如果是非GBK编码的能不能用,老要转换太麻烦


_________________
You make it fun
It will make you fun


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-07-29 13:51 
头像

注册: 2005-08-15 0:04
帖子: 1880
地址: 南7技校
送出感谢: 0 次
接收感谢: 0 次
这个问题很多人有的貌似,可惜对于这个字体的映射方式不是很了解。所以一直没有研究过,查了一些资料,测试没有成功的。所以就搁置了..
哪位熟悉的大牛能够弄出来就好了..


_________________
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 4 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译