分页: 1 / 1

texmaker不能编译过去的tex文档

发表于 : 2010-06-07 3:20
wdlang
昨天晚上重装了ubuntu

早上起来装了texmaker

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

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

发表于 : 2010-06-07 3:22
wdlang
wdlang 写了:昨天晚上重装了ubuntu

早上起来装了texmaker

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

Process exited with error(s)

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

发表于 : 2010-06-07 3:23
wdlang
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}

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

发表于 : 2010-06-08 11:17
gd88121
首先,看看错误,
有没有什么包没有装?

其次,把 $f(x)$ 改成 $ f(x) $ ,也就是前后加两个空格。
我记得我的师弟在win里面用texmaker,说所$$中间要加空格才能编译。不解中。

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

发表于 : 2010-06-09 3:49
leni
我这里$…$不加空格也能编译,这不是问题。
lz看看texmaker提示的错误,就在日志下面的小三角,点击它。

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

发表于 : 2010-06-09 3:57
leni
还是revtex4的问题。
这个revtex4到底是什么呀?不用不行吗?