求助!关于xelatex输出中文。

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

求助!关于xelatex输出中文。

#1

帖子 lordsidious » 2011-05-09 18:19

代码:
\documentclass[UTF8]{ctexart}
\usepackage{xeCJK}
\input zhwinfonts.tex
\begin{document}
你好 CTeX 文档类
\end{document}
结果报错:
! LaTeX Error: File `zhwinfonts.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
! Emergency stop.
<read *>
l.5 \AtBeginDvi{\input{zhwinfonts.sty}}
^^M
*** (cannot \read from terminal in nonstop modes)
Here is how much of TeX's memory you used:
5949 strings out of 493849
90407 string characters out of 1152847
116539 words of memory out of 3000000
9106 multiletter control sequences out of 15000+50000
3640 words of font info for 14 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
40i,0n,35p,830b,150s stack positions out of 5000i,500n,10000p,200000b,50000s
No pages of output.
哪位能解释一下?
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17

Re: 求助!关于xelatex输出中文。

#2

帖子 123rps » 2011-05-09 18:25

第三行,不应该写成“\input{zhwinfonts}”吗?
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

Re: 求助!关于xelatex输出中文。

#3

帖子 lordsidious » 2011-05-09 18:27

写成那个还是相同的问题。
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17

Re: 求助!关于xelatex输出中文。

#4

帖子 123rps » 2011-05-09 18:30

那就是zhwinfonts.tex里面的问题了,把这个文件贴出来看看呗
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

Re: 求助!关于xelatex输出中文。

#5

帖子 lordsidious » 2011-05-09 18:32

123rps 写了:那就是zhwinfonts.tex里面的问题了,把这个文件贴出来看看呗
关键是我不知道这个文件在哪?
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17

Re: 求助!关于xelatex输出中文。

#6

帖子 123rps » 2011-05-09 18:40

那你为什么会加上这一句?
xelatex中文一般只要这样就可以了:

\documentclass[a4paper]{article}
\usepackage{xeCJK}
\setmainfont{Times New Roman}
\setCJKmainfont{Adobe Song Std}
\begin{document}
文本
\end{document}

当然前提是你有Times New Roman和Adobe Song Std两个字体
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

Re: 求助!关于xelatex输出中文。

#7

帖子 lordsidious » 2011-05-09 18:42

我是新手。
还有,照6楼那么做还是有问题。
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17

Re: 求助!关于xelatex输出中文。

#8

帖子 123rps » 2011-05-09 18:44

我这没问题,错误代码贴出来
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

Re: 求助!关于xelatex输出中文。

#9

帖子 lordsidious » 2011-05-09 18:49

! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 <
!DOCTYPE html>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (34.13861pt too wide) in paragraph at lines 5--9
[]\OT1/cmr/m/n/10 <!DOCTYPE html> <html> <head> <link rel="icon" type="image/vn
d.microsoft.icon"
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.10 <
script type="text/javascript">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.15 v
ar codesite_token = null;
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.15 var codesite_
token = null;
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <7> on input line 15.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <5> on input line 15.
! Missing $ inserted.
<inserted text>
$
l.16
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.18 v
ar CS_env = {"token":null,"assetHostPath":"http://www.gstatic.com/cod...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.18 var CS_
env = {"token":null,"assetHostPath":"http://www.gstatic.com/cod...
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.20
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (1387.27934pt too wide) in paragraph at lines 18--20
[]\OT1/cmr/m/n/10 var CS$[]\OML/cmm/m/it/10 nv \OT1/cmr/m/n/10 = []; \OML/cmm/m
/it/10 <
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.22 <
title>xeCJK.sty -
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.26 M
acro Packages and Scripts for Chinese TeX users - Google Project Hosting
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.31 <
meta name="ROBOTS" content="NOARCHIVE">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.33 <
link type="text/css" rel="stylesheet" href="http://www.gstatic.com/co...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.33 ...com/codesite/ph/806273160146606062/css/ph_
core.css">
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.34
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (208.68135pt too wide) in paragraph at lines 33--34
[]\OT1/cmr/m/n/10 <link type="text/css" rel="stylesheet" href="http://www.gstat
ic.com/codesite/ph/806273160146606062/css/ph$[]\OML/cmm/m/it/10 ore:css\OT1/cmr
/m/n/10 " \OML/cmm/m/it/10 >$
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.35 <
link type="text/css" rel="stylesheet" href="http://www.gstatic.com/co...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.35 ...com/codesite/ph/806273160146606062/css/ph_
detail.css" >
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.36
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (215.15659pt too wide) in paragraph at lines 35--36
[]\OT1/cmr/m/n/10 <link type="text/css" rel="stylesheet" href="http://www.gstat
ic.com/codesite/ph/806273160146606062/css/ph$[]\OML/cmm/m/it/10 etail:css\OT1/c
mr/m/n/10 " \OML/cmm/m/it/10 >$
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.38 <
link type="text/css" rel="stylesheet" href="http://www.gstatic.com/co...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.38 ....com/codesite/ph/806273160146606062/css/d_
sb.css" >
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.39
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (193.32515pt too wide) in paragraph at lines 38--39
[]\OT1/cmr/m/n/10 <link type="text/css" rel="stylesheet" href="http://www.gstat
ic.com/codesite/ph/806273160146606062/css/d$[]\OML/cmm/m/it/10 b:css\OT1/cmr/m/
n/10 " \OML/cmm/m/it/10 >$
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.42 <
!--[if IE]>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.43 ....com/codesite/ph/806273160146606062/css/d_
ie.css" >
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.49
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (242.05038pt too wide) in paragraph at lines 42--49
[]\OT1/cmr/m/n/10 <!--[if IE]> <link type="text/css" rel="stylesheet" href="htt
p://www.gstatic.com/codesite/ph/80627316014 ... mm/m/it/10 e:c
ss\OT1/cmr/m/n/10 " \OML/cmm/m/it/10 ><
[]
Overfull \hbox (1418.17761pt too wide) in paragraph at lines 42--49
\OT1/cmr/m/n/10 ![\OML/cmm/m/it/10 endif\OT1/cmr/m/n/10 ] \OMS/cmsy/m/n/10 ^^@
^^@ \OML/cmm/m/it/10 >< styletype \OT1/cmr/m/n/10 = "\OML/cmm/m/it/10 text=css\
OT1/cmr/m/n/10 " \OML/cmm/m/it/10 > :menuIcon:off[]:menuIcon:on[]:menuIcon:down
[]$
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.52 t
r.inline_comment {
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.52 tr.inline_
comment {
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! You can't use `macro parameter character #' in math mode.
l.53 background: #
fff;
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
! You can't use `macro parameter character #' in math mode.
l.58 border: 1px solid #
999;
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
! You can't use `macro parameter character #' in math mode.
l.64 background: #
ffa;
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
! You can't use `macro parameter character #' in math mode.
l.67 background: #
e5ecf9;
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
! Missing $ inserted.
<inserted text>
$
l.92
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (2947.6237pt too wide) in paragraph at lines 52--92
[]\OT1/cmr/m/n/10 tr.inline$[]\OML/cmm/m/it/10 omment[]div:draft; div:published
[]div:draft[]div:published[]div:published:body; div:draft:body[]div:draft:actio
ns[]div:draftform[]div:drafttextarea; div:publishedtextarea[]$
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.94 .
nocursor, .nocursor td, .cursor_hidden, .cursor_hidden td {
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.94 .nocursor, .nocursor td, .cursor_
hidden, .cursor_hidden td {
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.103
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (400.78932pt too wide) in paragraph at lines 94--103
[]\OT1/cmr/m/n/10 .nocursor, .nocur-sor td, .cursor$[]\OML/cmm/m/it/10 idden; :
cursor[]iddentd[]:cursor; :cursortd[]$
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.105 .
list {
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.110 <
/style>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.114 var _
gaq = _gaq || [];
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.118
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (4.49763pt too wide) in paragraph at lines 110--118
[]\OT1/cmr/m/n/10 </style> </head> <body class="t4"> <script type="text/javascr
ipt"> var $[]\OML/cmm/m/it/10 aq \OT1/cmr/m/n/10 =[]
[]
Overfull \hbox (54.16122pt too wide) in paragraph at lines 110--118
\OML/cmm/m/it/10 aq\OMS/cmsy/m/n/10 jj\OT1/cmr/m/n/10 [];[] \OML/cmm/m/it/10 aq
:push\OT1/cmr/m/n/10 ([[]\OML/cmm/m/it/10 siteTracker:[]etAccount[];[] UA \OMS/
cmsy/m/n/10 ^^@ \OT1/cmr/m/n/10 18071 \OMS/cmsy/m/n/10 ^^@ \OT1/cmr/m/n/10 1[]]
\OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 [[]\OML/cmm/m/it/10 siteTracker:[]rackPagevi
ew[]\OT1/cmr/m/n/10 ]);$
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.119 (
function() {
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (27.95447pt too wide) in paragraph at lines 119--127
[]\OT1/cmr/m/n/10 (function() var ga = doc-u-ment.createElement('script'); ga.
type = 'text/javascript';
[]
Overfull \hbox (2.63962pt too wide) in paragraph at lines 119--127
\OT1/cmr/m/n/10 ga.async = true; ga.src = ('https:' == doc-u-ment.location.prot
ocol ? 'https://ssl'
[]
Overfull \hbox (66.09352pt too wide) in paragraph at lines 119--127
\OT1/cmr/m/n/10 : 'http://www') + '.google-analytics.com/ga.js'; (doc-u-ment.ge
tElementsByTagName('head')[0]
[]
Overfull \hbox (15.6027pt too wide) in paragraph at lines 119--127
\OT1/cmr/m/n/10 || doc-u-ment.getElementsByTagName('body')[0]).appendChild(ga);
)(); </script>
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.129 <
span>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.131 <
a href="#" id="projects-dropdown" onclick="return false;">My favo...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! You can't use `macro parameter character #' in horizontal mode.
l.131 <a href="#
" id="projects-dropdown" onclick="return false;">My favo...
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
! Misplaced alignment tab character &.
l.131 ...turn false;">My favorites &
#9660;</small></a>
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
! You can't use `macro parameter character #' in horizontal mode.
l.131 ...urn false;">My favorites &#
9660;</small></a>
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
! Misplaced alignment tab character &.
l.132 ...e.com/accounts/ServiceLogin?service=code&
amp;ltmpl=phosting&con...
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
! Misplaced alignment tab character &.
l.132 ...iceLogin?service=code&ltmpl=phosting&
amp;continue=http%3A%2F%2F...
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
Overfull \hbox (15.33406pt too wide) in paragraph at lines 131--133
[]\OT1/cmr/m/n/10
My fa-vorites</u>
[]
Overfull \hbox (262.2236pt too wide) in paragraph at lines 131--133
\OT1/cmr/m/n/10 9660; |
unts/ServiceLogin?service=codeamp;ltmpl=phostingamp;continue=http
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.134 <
/span>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.136 <
/div>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (13.41745pt too wide) in paragraph at lines 136--139
[]\OT1/cmr/m/n/10 </div> <div class="gbh" style="left: 0pt;"></div> <div class=
"gbh" style="right:
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.141 <
div style="height: 1px"></div>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (5.83295pt too wide) in paragraph at lines 141--150
[]\OT1/cmr/m/n/10

="text-align:center;">
[]
Overfull \hbox (230.02904pt too wide) in paragraph at lines 141--150
\OT1/cmr/m/n/10 Google Chrome, or
href="http://code.google.com/chrome/chromeframe/">Google
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.154 <
table style="padding:0px; margin: 0px 0px 10px 0px; width:100%" cell...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (22.85269pt too wide) in paragraph at lines 154--156
[]\OT1/cmr/m/n/10 <table style="padding:0px; mar-gin: 0px 0px 10px 0px; width:1
00<tr style="height:
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.157 <
td id="plogo">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.161 <
img src="/p/ctex-kit/logo?cct=1287324442" alt="Logo">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.163 <
/a>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.166 <
td style="padding-left: 0.5em">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.168 <
div id="pname">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.172 <
div id="psum">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.173 <a id="project_
summary_link" href="/p/ctex-kit/" >Macro Packages and ...
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.174
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.175 <
/div>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.178 <
/td>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (4.45444pt too wide) in paragraph at lines 178--180
[]\OT1/cmr/m/n/10 </td> <td style="white-space:nowrap;text-align:right; vertica
l-align:bottom;">
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.181 <
form action="/hosting/search">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (39.66751pt too wide) in paragraph at lines 181--185
[]\OT1/cmr/m/n/10 <form ac-tion="/hosting/search"> <in-put size="30" name="q" v
alue="" type="text">
[]
Overfull \hbox (1.69514pt too wide) in paragraph at lines 181--185
\OT1/cmr/m/n/10 <in-put type="submit" name="projectsearch" value="Search projec
ts" > </form>
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.186 <
/tr>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.189 <
/div>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.192 <
div id="mt" class="gtb">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Misplaced alignment tab character &.
l.193 ...href="/p/ctex-kit/" class="tab ">Project&
nbsp;Home</a>
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
Overfull \hbox (46.30637pt too wide) in paragraph at lines 192--194
[]\OT1/cmr/m/n/10

>Pro-jectnbsp;Home</a>
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.198 <
a href="/p/ctex-kit/downloads/list" class="tab ">Downloads</a>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.204 <
a href="/p/ctex-kit/w/list" class="tab ">Wiki</a>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.210 <
a href="/p/ctex-kit/issues/list"
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.217 <
a href="/p/ctex-kit/source/checkout"
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.224 <
div class=gtbc></div>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (37.97307pt too wide) in paragraph at lines 224--228
[]\OT1/cmr/m/n/10

adding="0" width="100
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.234 <
td class="subt">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.240 <
span class="inst1">Checkout
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Misplaced alignment tab character &.
l.240 ...it/source/checkout">Checkout</a></span> &
nbsp;
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
! Misplaced alignment tab character &.
l.241 ...x-kit/source/browse/">Browse</a></span> &
nbsp;
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
! Misplaced alignment tab character &.
l.242 ...tex-kit/source/list">Changes</a></span> &
nbsp;
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable.
Overfull \hbox (23.16739pt too wide) in paragraph at lines 240--243
[]\OT1/cmr/m/n/10 Che
ckout</a></span>
[]
Overfull \hbox (21.39888pt too wide) in paragraph at lines 240--243
\OT1/cmr/m/n/10 nbsp;
Browse</a></span>
[]
Overfull \hbox (5.37111pt too wide) in paragraph at lines 240--243
\OT1/cmr/m/n/10 nbsp; Cha
nges</a></span>
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.244 <
form action="http://www.google.com/codesearch" method="get" style="d...
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Overfull \hbox (59.112pt too wide) in paragraph at lines 244--248
[]\OT1/cmr/m/n/10 <form ac-tion="http://www.google.com/codesearch" method="get"
style="display:inline"
[]
Overfull \hbox (104.61215pt too wide) in paragraph at lines 244--248
\OT1/cmr/m/n/10 on-sub-mit="document.getElementById('codesearchq').value = doc-
u-ment.getElementById('origq').value
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.251 <
/form>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.255 <
/td>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.259 <
td align="right" valign="top" class="bevel-right"></td>
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.264 <
script type="text/javascript">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! Missing $ inserted.
<inserted text>
$
l.266 function _
go(url) { document.location = url; }
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
! Missing $ inserted.
<inserted text>
$
l.269
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.
Overfull \hbox (109.12741pt too wide) in paragraph at lines 264--269
[]\OT1/cmr/m/n/10
func-tion $[]\OML/cmm/m/it/10 o\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 url\OT1/cmr/m/
n/10 )[] \OML/cmm/m/it/10 <
[]
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.270 >
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.273 <
!-- IE -->
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.278 <
div class="expand">
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
! You can't use `macro parameter character #' in horizontal mode.
l.281 #
file_flipper { white-space: nowrap; padding-right: 2em; }
Sorry, but I'm not programmed to handle this case;
I'll just pretend that you didn't ask for it.
If you're in the wrong mode, you might be able to
return to the right one by typing `I}' or `I$' or `I\par'.
! Missing $ inserted.
<inserted text>
$
hibeo
帖子: 27
注册时间: 2010-02-08 15:48

Re: 求助!关于xelatex输出中文。

#10

帖子 hibeo » 2011-05-09 18:53

你是什么套装,ctex还是texlive?

换用fontspec宏包试试

\documentclass[12pt,a4paper]{article}
\usepackage{fontspec}
\usepackage{xunicode}
\setromanfont{AR PL ShanHeiSun Uni}
\begin{document}
可以使用系统自带的字体,而不需要再另外生成。
\end{document}
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17

Re: 求助!关于xelatex输出中文。

#11

帖子 123rps » 2011-05-09 18:54

你是windows下用的ctex? :em20
那我就不能保证对了
我ubuntu下用的texlive,6楼的代码没有问题
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

Re: 求助!关于xelatex输出中文。

#12

帖子 lordsidious » 2011-05-09 18:55

楼上,我装的是texlive,xelatex。用你的代码也有问题。

代码: 全选

\documentclass[12pt,a4paper]{article}
\usepackage{fontspec}
\usepackage{xunicode}
\setromanfont{AR PL ShanHeiSun Uni}
\begin{document}
可以使用系统自带的字体,而不需要再另外生成。
\end{document}
! Font EU1/lmr/m/n/10=[lmroman10-regular]:mapping=tex-text at 10.0pt not loadab
le: Metric (TFM) file not found.
<to be read again>
relax
l.100 \fontencoding\encodingdefault\selectfont
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
)
LaTeX Info: Redefining \itshape on input line 1163.
LaTeX Info: Redefining \slshape on input line 1166.
LaTeX Info: Redefining \scshape on input line 1169.
LaTeX Info: Redefining \upshape on input line 1172.
fontspec.cfg loaded.
(/usr/share/texmf-texlive/tex/xelatex/fontspec/fontspec.cfg))
(/usr/share/texmf-texlive/tex/xelatex/xunicode/xunicode.sty
File: xunicode.sty 2008/02/08 v0.91 provides access to latin accents and many o
ther characters in Unicode lower plane
! LaTeX Error: *** this package currently works only with XeTeX ***
You are not using XeTeX, so we are exiting cleanly!
Continuing may lead to 'unavailable font metrics' errors!
.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.17 ...csname\relax\expandafter\notXeTeXformat\fi
Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
)
! Font \zf@basefont="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)
file not found.
\zf@fontspec ...ntname \zf@suffix " at \f@size pt
\unless \ifzf@icu \zf@set@...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Undefined control sequence.
\zf@set@font@type ...false \ifcase \XeTeXfonttype
\zf@basefont \zf@tfm \or \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Missing number, treated as zero.
<to be read again>
\zf@basefont
l.4 \setromanfont{AR PL ShanHeiSun Uni}
A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)
! Undefined control sequence.
\zf@set@font@type ...onttype \zf@basefont \zf@tfm
\or \zf@atsuitrue \ifnum \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Font \zf@basefont="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)
file not found.
\zf@fontspec ...ntname \zf@suffix " at \f@size pt
\fi \zf@firsttimetrue \zf@...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
\c@zf@famc@AR PL ShanHeiSun Uni=\count95
Package fontspec Info: Defining font family for 'AR PL ShanHeiSun Uni' with opt
ions [] on input line 4.
! Font \@tempfontb="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)
file not found.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempb {\fontname \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Font \@tempfonta="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)
file not found.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempa {\fontname \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Font \@tempfontb="AR PL ShanHeiSun Uni/B" at 10.0pt not loadable: Metric (TFM
) file not found.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempb {\fontname \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
Package fontspec Info: Could not resolve font AR PL ShanHeiSun Uni/B (it might
not exist) on input line 4.
! Font \@tempfonta="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)
file not found.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempa {\fontname \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Font \@tempfontb="AR PL ShanHeiSun Uni/I" at 10.0pt not loadable: Metric (TFM
) file not found.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempb {\fontname \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
Package fontspec Info: Could not resolve font AR PL ShanHeiSun Uni/I (it might
not exist) on input line 4.
! Font \@tempfonta="AR PL ShanHeiSun Uni" at 10.0pt not loadable: Metric (TFM)
file not found.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempa {\fontname \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
! Font \@tempfontb="AR PL ShanHeiSun Uni/BI" at 10.0pt not loadable: Metric (TF
M) file not found.
\\zf@make@font@shapes ...f@suffix " at \f@size pt
\edef \@tempb {\fontname \...
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
Package fontspec Info: Could not resolve font AR PL ShanHeiSun Uni/BI (it might
not exist) on input line 4.
! Font EU1/ARPLShanHeiSunUni(0)/m/n/10="AR PL ShanHeiSun Uni:" at 10.0pt not lo
adable: Metric (TFM) file not found.
<to be read again>
relax
l.4 \setromanfont{AR PL ShanHeiSun Uni}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
(./try9.aux)
\openout1 = `try9.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 5.
LaTeX Font Info: ... okay on input line 5.
! Font EU1/ARPLShanHeiSunUni(0)/m/n/12="AR PL ShanHeiSun Uni:" at 12.0pt not lo
adable: Metric (TFM) file not found.
<to be read again>
relax
l.5 \begin{document}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
Package fontspec Info: Adjusting the maths setup (use [no-math] to avoid this).
on input line 5.
\symlegacymaths=\mathgroup4
LaTeX Font Info: Overwriting symbol font `legacymaths' in version `bold'
(Font) OT1/cmr/m/n --> OT1/cmr/bx/n on input line 5.
LaTeX Font Info: Redeclaring math accent \acute on input line 5.
LaTeX Font Info: Redeclaring math accent \grave on input line 5.
LaTeX Font Info: Redeclaring math accent \ddot on input line 5.
LaTeX Font Info: Redeclaring math accent \tilde on input line 5.
LaTeX Font Info: Redeclaring math accent \bar on input line 5.
LaTeX Font Info: Redeclaring math accent \breve on input line 5.
LaTeX Font Info: Redeclaring math accent \check on input line 5.
LaTeX Font Info: Redeclaring math accent \hat on input line 5.
LaTeX Font Info: Redeclaring math accent \dot on input line 5.
LaTeX Font Info: Redeclaring math accent \mathring on input line 5.
LaTeX Font Info: Redeclaring math symbol \colon on input line 5.
LaTeX Font Info: Redeclaring math symbol \Gamma on input line 5.
LaTeX Font Info: Redeclaring math symbol \Delta on input line 5.
LaTeX Font Info: Redeclaring math symbol \Theta on input line 5.
LaTeX Font Info: Redeclaring math symbol \Lambda on input line 5.
LaTeX Font Info: Redeclaring math symbol \Xi on input line 5.
LaTeX Font Info: Redeclaring math symbol \Pi on input line 5.
LaTeX Font Info: Redeclaring math symbol \Sigma on input line 5.
LaTeX Font Info: Redeclaring math symbol \Upsilon on input line 5.
LaTeX Font Info: Redeclaring math symbol \Phi on input line 5.
LaTeX Font Info: Redeclaring math symbol \Psi on input line 5.
LaTeX Font Info: Redeclaring math symbol \Omega on input line 5.
LaTeX Font Info: Redeclaring math symbol \mathdollar on input line 5.
LaTeX Font Info: Redeclaring symbol font `operators' on input line 5.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `normal' on input line 5.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) OT1/cmr/m/n --> EU1/ARPLShanHeiSunUni(0)/m/n on input l
ine 5.
LaTeX Font Info: Encoding `OT1' has changed to `EU1' for symbol font
(Font) `operators' in the math version `bold' on input line 5.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) OT1/cmr/bx/n --> EU1/ARPLShanHeiSunUni(0)/m/n on input
line 5.
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
(Font) EU1/ARPLShanHeiSunUni(0)/m/n --> EU1/ARPLShanHeiSunUni(
0)/m/n on input line 5.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `normal'
(Font) EU1/ARPLShanHeiSunUni(0)/m/n --> EU1/ARPLShanHeiSunUni(
0)/m/n on input line 5.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
(Font) OT1/cmr/m/it --> EU1/ARPLShanHeiSunUni(0)/m/it on input
line 5.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
(Font) OT1/cmr/bx/n --> EU1/ARPLShanHeiSunUni(0)/bx/n on input
line 5.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `normal'
(Font) OT1/cmss/m/n --> EU1/lmss/m/n on input line 5.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `normal'
(Font) OT1/cmtt/m/n --> EU1/lmtt/m/n on input line 5.
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
(Font) EU1/ARPLShanHeiSunUni(0)/m/n --> EU1/ARPLShanHeiSunUni(
0)/bx/n on input line 5.
LaTeX Font Info: Overwriting math alphabet `\mathrm' in version `bold'
(Font) EU1/ARPLShanHeiSunUni(0)/m/n --> EU1/ARPLShanHeiSunUni(
0)/bx/n on input line 5.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
(Font) OT1/cmr/bx/it --> EU1/ARPLShanHeiSunUni(0)/bx/it on inp
ut line 5.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version `bold'
(Font) OT1/cmss/bx/n --> EU1/lmss/bx/n on input line 5.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version `bold'
(Font) OT1/cmtt/m/n --> EU1/lmtt/bx/n on input line 5.
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no in font nullfont!
Missing character: There is no 1 in font nullfont!
[1
] (./try9.aux) )
Here is how much of TeX's memory you used:
2214 strings out of 493849
44850 string characters out of 1152847
122870 words of memory out of 3000000
5530 multiletter control sequences out of 15000+50000
3938 words of font info for 15 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
27i,4n,27p,451b,140s stack positions out of 5000i,500n,10000p,200000b,50000s
Output written on try9.dvi (1 page, 156 bytes).
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

Re: 求助!关于xelatex输出中文。

#13

帖子 lordsidious » 2011-05-09 18:57

123rps 写了:你是windows下用的ctex? :em20
那我就不能保证对了
我ubuntu下用的texlive,6楼的代码没有问题
我就是在ubuntu 11.04下面用的texlive,用texmaker编辑的。
头像
123rps
帖子: 189
注册时间: 2009-04-30 16:17

Re: 求助!关于xelatex输出中文。

#14

帖子 123rps » 2011-05-09 19:02

9楼的错误码是6楼的例子输出的吗?怎么都有200多行?
东西大街南北走
出门碰到人咬狗
搬起狗来砸砖头
却被砖头咬了手
OpenOffice.org Math公式编辑器完全教程
头像
lordsidious
帖子: 229
注册时间: 2008-07-25 18:50

Re: 求助!关于xelatex输出中文。

#15

帖子 lordsidious » 2011-05-09 19:02

ls,我之前装过CJK的包,不过跟这个有关系么?还有,texmaker里面还需要其他什么配置么?比如说编码...
回复