LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 823|回复: 2

求助 ,关于latex编译文件时的问题。。。。。

[复制链接]
发表于 2006-10-9 18:57:58 | 显示全部楼层 |阅读模式
最近刚装上双系统,已经被linux深深的吸引住了,什么工作都想在linux下完成。
刚好这两天要写简历,就想试着想用latex写。
用yast把latex和差不多80%的包都给装上。
可是在试刀的时候却出现了 问题。
1。用vim写了一个test.tex,内容为
\documentclass{article}
\begin{document}
Hello world!
\end{document}
2.在shell里输入 latex test.tex回车
再输入latex test.dvi回车
然后出来
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
(./test.dvi
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.

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...

l.1
     ^^B^^A\uffff\uffff\uffff^^\;^^@^^@^^@^^@^^C\uffff^^[ TeX output 2006.10.09:1852\uffff^^@^^@^^@^^...

?
到底是哪里出问题了,知道的看官帮帮我吧。
发表于 2006-10-9 20:17:44 | 显示全部楼层
输入两遍pdflatex text.tex
回复 支持 反对

使用道具 举报

发表于 2006-10-9 20:45:24 | 显示全部楼层
生成 dvi 文件后用 dvipdfm 将其转成 pdf 文档.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表