bug-auctex
[Top][All Lists]
Advanced

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

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


From: Mihalicza Péter
Subject: [Bug-AUCTeX] The syntax of the command is incorrect
Date: Thu, 25 Oct 2007 16:19:33 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Dear All,

I am using XEmacs with the built in AUCTeX version on Windows XP.
Emacs : XEmacs 21.4 (patch 21) "Educational Television" [Lucid] (i586-pc-win32) of Sun Oct 07 2007 on VSHELTON-PC2
Package: AUCTeX CVS-1.14 (2007-02-05)

current state:
==============
(setq
window-system 'mswindows
LaTeX-version "2e"
TeX-style-path '("style/" "auto/" "c:/EmacsRLaTeXSweave/XEmacs/xemacs-packages/etc/auctex/style/"
         "c:/EmacsRLaTeXSweave/XEmacs/xemacs-packages/etc/auctex/auto/")
TeX-auto-save nil
TeX-parse-self nil
TeX-master t
)

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

The same problem was posted to the comp.emacs.xemacs group:
http://groups.google.com/group/comp.emacs.xemacs/browse_thread/thread/6bf358e22137315a/de2a53dd4976f3bc?lnk=gst&q=syntax+command+incorrect+nonstopmode+latex#de2a53dd4976f3bc

but there was no solution. At least I couldn't figure it out, though I did what was written. The results:

`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.

The shell-file-name and the shell-command-switch variables are the same.

I suppose that the problem is with the argument given to cmd.exe, but I just cannot resolve the problem. I am very new to Xemacs, so there easily could be something obvious I miss, but I am engaged with this issue for two days now without any progress.

Thank you in advance!

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]