[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-AUCTeX] The syntax of the command is incorrect
From: |
Ralf Angeli |
Subject: |
Re: [Bug-AUCTeX] The syntax of the command is incorrect |
Date: |
Sat, 27 Oct 2007 17:24:51 +0200 |
* 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?
> `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?
Unless you are a die-hard XEmacs user you might also check out the
pre-compiled Emacs version downloadable from the AUCTeX site.
--
Ralf