If I run

latex "\input" "report.tex"

in a command window obtained from Start->Run->cmd, everything works fine,
but if I run it in a shell from emacs generated via M-x shell (which prints
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft
Corp. on startup), I get the same error as with auctex in emacs. Do I have
to tell auctex/preview-latex/miktex to do something special with the paths
when called from emacs?

Thanks,
-Emin

P.S., both the successful and unsuccessful invocations of latex claim to
"This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MikTeX 2.5)"

On 3/23/07, David Kastrup <[EMAIL PROTECTED]> wrote:

"Emin.shopper Martinian.shopper" <[EMAIL PROTECTED]> writes:

> Dear Experts,
>
> I downloaded and installed the version of emacs for windows with auctex
> built-in along with miktex, but I get the following problem when trying
to
> compile a file:
>
> -------------------------
> Running `LaTeX' on `report' with ``latex  -interaction=nonstopmode
"\input" "
> report.tex"''
> This is pdfeTeX, Version 3.141592-1.30.6-2.2 (MiKTeX 2.5)
> entering extended mode
> LaTeX2e <2005/12/01>
> Babel <v3.8g> and hyphenation patterns for english, dumylang,
nohyphenation, ge
> rman, ngerman, french, loaded.
> (report.texlatex: Windows API error 161: The specified path is invalid.
>
>
> LaTeX exited abnormally with code 1 at Fri Mar 23 16:28:07
>
> ------------------------
>
> It seems like auctex is finding MiKTeX properly, but then it complains
about an
> invalid path. Any thoughts?

What happens if you call

latex "\input" "report.tex"

on the command line?

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum

_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to