help-emacs-windows
[Top][All Lists]

## [h-e-w] tex-shell problems with emacs on XP

 From: Charles M. Goldie Subject: [h-e-w] tex-shell problems with emacs on XP Date: Thu, 29 Jul 2004 22:23:32 +0100

I'm having problems with tex-shell in a new installation of GNUEmacs 21.3.1 on a Windows XP system. The TeX version is MiKTeX 2.4.
```
```
When emacs is visiting an existing TeX file the tex-shell command (C-c C-f) works fine. If the file is, for instance, a.tex then C-c C-f causes a window *tex-shell* to appear and the command
```
tex "\nonstopmode\input" a.tex

```
to be run in it. But if the TeX file doesn't already exist, i.e. I get emacs to create the file a.tex and then type something into it, then C-c C-f results in the command line
```
tex "\nonstopmode\input" a.tex.tex

```
which of course results in an error. This happens also if in a cmd.exe window I type
```
runemacs a.tex

in a directory where a.tex doesn't exist.

```
I can't reproduce this error on a Unix terminal, so think it may be special to the Windows version of Emacs. Is it a known problem and would anyone have a correction?
```
```
My other problems are brought on by calling emacs from a 4nt command window. Does anyone have experience of running emacs under the 4nt shell from JPSoft?
```
Charles.

```