texmaker不能编译过去的tex文档

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
头像
wdlang
帖子: 404
注册时间: 2009-09-08 13:20

texmaker不能编译过去的tex文档

#1

帖子 wdlang » 2010-06-07 3:20

昨天晚上重装了ubuntu

早上起来装了texmaker

但是发现不能编译过去在windowns下用winedt写的tex文档
i am working with ubuntu!

i am to be a technical guy!
头像
wdlang
帖子: 404
注册时间: 2009-09-08 13:20

Re: texmaker不能编译过去的tex文档

#2

帖子 wdlang » 2010-06-07 3:22

wdlang 写了:昨天晚上重装了ubuntu

早上起来装了texmaker

但是发现不能编译过去在windowns下用winedt写的tex文档
Process started

Process exited with error(s)
i am working with ubuntu!

i am to be a technical guy!
头像
wdlang
帖子: 404
注册时间: 2009-09-08 13:20

Re: texmaker不能编译过去的tex文档

#3

帖子 wdlang » 2010-06-07 3:23

wdlang 写了:
wdlang 写了:昨天晚上重装了ubuntu

早上起来装了texmaker

但是发现不能编译过去在windowns下用winedt写的tex文档
Process started

Process exited with error(s)
文档其实很简单,见下

\documentclass[article]{revtex4}
\usepackage{mathrsfs}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{bm}
\usepackage{fancyhdr}
\pagestyle{fancy} \lhead{} \chead{} \rhead{\bfseries Reading Notes}


\begin{document}
\title{Principle values of Cauchy}
\date{\today}
\maketitle

In physics, we often encounter the cauchy principle value, such as
\begin{equation}\label{cauchy}
I=P\int_{-\infty}^{+\infty} dx\frac{f(x)}{x}.
\end{equation}
The question is what conditions the function $f(x)$ should satisfy
so that the principle integral is well defined?


\end{document}
i am working with ubuntu!

i am to be a technical guy!
gd88121
帖子: 109
注册时间: 2007-11-28 2:19

Re: texmaker不能编译过去的tex文档

#4

帖子 gd88121 » 2010-06-08 11:17

首先,看看错误,
有没有什么包没有装?

其次,把 $f(x)$ 改成 $ f(x) $ ,也就是前后加两个空格。
我记得我的师弟在win里面用texmaker,说所$$中间要加空格才能编译。不解中。
头像
leni
帖子: 1989
注册时间: 2008-09-28 17:24

Re: texmaker不能编译过去的tex文档

#5

帖子 leni » 2010-06-09 3:49

我这里$…$不加空格也能编译,这不是问题。
lz看看texmaker提示的错误,就在日志下面的小三角,点击它。
附件
texmaker.jpg
texmaker.jpg (7.8 KiB) 查看 1602 次
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。
头像
leni
帖子: 1989
注册时间: 2008-09-28 17:24

Re: texmaker不能编译过去的tex文档

#6

帖子 leni » 2010-06-09 3:57

还是revtex4的问题。
这个revtex4到底是什么呀?不用不行吗?
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。
回复