昨天晚上重装了ubuntu
早上起来装了texmaker
但是发现不能编译过去在windowns下用winedt写的tex文档
texmaker不能编译过去的tex文档
- wdlang
- 帖子: 404
- 注册时间: 2009-09-08 13:20
texmaker不能编译过去的tex文档
i am working with ubuntu!
i am to be a technical guy!
i am to be a technical guy!
- wdlang
- 帖子: 404
- 注册时间: 2009-09-08 13:20
Re: texmaker不能编译过去的tex文档
Process startedwdlang 写了:昨天晚上重装了ubuntu
早上起来装了texmaker
但是发现不能编译过去在windowns下用winedt写的tex文档
Process exited with error(s)
i am working with ubuntu!
i am to be a technical guy!
i am to be a technical guy!
- wdlang
- 帖子: 404
- 注册时间: 2009-09-08 13:20
Re: texmaker不能编译过去的tex文档
文档其实很简单,见下wdlang 写了:Process startedwdlang 写了:昨天晚上重装了ubuntu
早上起来装了texmaker
但是发现不能编译过去在windowns下用winedt写的tex文档
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!
i am to be a technical guy!
-
- 帖子: 109
- 注册时间: 2007-11-28 2:19
Re: texmaker不能编译过去的tex文档
首先,看看错误,
有没有什么包没有装?
其次,把 $f(x)$ 改成 $ f(x) $ ,也就是前后加两个空格。
我记得我的师弟在win里面用texmaker,说所$$中间要加空格才能编译。不解中。
有没有什么包没有装?
其次,把 $f(x)$ 改成 $ f(x) $ ,也就是前后加两个空格。
我记得我的师弟在win里面用texmaker,说所$$中间要加空格才能编译。不解中。
- leni
- 帖子: 1989
- 注册时间: 2008-09-28 17:24
Re: texmaker不能编译过去的tex文档
我这里$…$不加空格也能编译,这不是问题。
lz看看texmaker提示的错误,就在日志下面的小三角,点击它。
lz看看texmaker提示的错误,就在日志下面的小三角,点击它。
- 附件
-
- 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文档
还是revtex4的问题。
这个revtex4到底是什么呀?不用不行吗?
这个revtex4到底是什么呀?不用不行吗?
latex 是个命令集,不是软件,所以在应用程序里找不到,也不存在启动。使用的话,自己写个 .tex 的文件,用 latex 编译。viewtopic.php?f=35&t=331555 的 4楼 有入门教程PDF下载。