bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-AUCTeX] The syntax of the command is incorrect


From: Mihalicza Péter
Subject: Re: [Bug-AUCTeX] The syntax of the command is incorrect
Date: Mon, 29 Oct 2007 11:24:14 +0100
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Ralf Angeli írta:
* Mihalicza Péter (2007-10-25) writes:

  
Whenever I hit C-c C-c on any .tex file I get the error message:
LaTeX: problems after [0] pages
After hitting C-c C-l the message in the window is:
Running `LaTeX' on `proba' with ``latex  "\nonstopmode\input{proba.tex}"''
The syntax of the command is incorrect. (in Hungarian)

LaTeX exited abnormally with code 1 at Thu Oct 25 15:57:56
    

Does the command work directly in cmd.exe?
  
Yes. When in the directory, where proba.tex resides
latex  "\nonstopmode\input{proba.tex}" and
cmd.exe /c latex  "\nonstopmode\input{proba.tex}"

also works perfectly from the command shell.

  
`TeX-shell' is a variable declared in Lisp.
  -- loaded from "tex-buf"

Value: "C:\\WINDOWS\\system32\\cmd.exe"

Documentation:
Name of shell used to parse TeX commands.

`TeX-shell-command-option' is a variable declared in Lisp.
  -- loaded from "tex-buf"

Value: "/c"

Documentation:
Shell argument indicating that next argument is the command.
    

That looks okay, but I am currently not running Windows, so I cannot
verify it.

If you do `M-x shell RET' you should get the Windows prompt as a
shell.  Does the latex command above work in that shell?
  
Maybe I am doing something wrong, but after M-x shell RET the shell window came up immediately with the message "Process cmd.exe finished", and
there was no process in the window, so I couldn't try to run the latex command.
Unless you are a die-hard XEmacs user you might also check out the
pre-compiled Emacs version downloadable from the AUCTeX site.
  
I tried Xemacs first because I wanted to use R, Sweave and LaTeX together, and for a lamer like me, Xemacs seemed to be more tailor-made. I am sure it is possible to customize GNU Emacs, but I don't (yet) know Lisp, so it would take a whole lot of time. However, I installed the Emacs-AUCTeX bundle and it works perfectly, but I would still be happy if I could make XEmacs work.

Thanks!

Peter



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]