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

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

[h-e-w] problem with emacs/auctex/MikTeX: I can't find file `nonstopmode


From: Scott, Steven
Subject: [h-e-w] problem with emacs/auctex/MikTeX: I can't find file `nonstopmodeinput{tmp.tex}
Date: Tue, 17 Aug 2004 17:12:22 -0700

Greetings, 

I'm trying to compile the following file (named tmp.tex) from within
emacs, using auctex:
-------------------------
\documentclass{article}
\begin{document}
Hello, world!
\end{document}
-------------------------

I get the following error messages in the * $HOME/tmp output * buffer:

-------------------------
Running `LaTeX' on `tmp' with ``latex --src-specials
\nonstopmode\input{tmp.tex}''
This is TeX, Version 3.141592 (MiKTeX 2.3) ! I can't find file
`nonstopmodeinput{tmp.tex}'. <*> nonstopmodeinput{tmp.tex}

Please type another input file name: 
-------------------------

I'm on an XP machine with GNU emacs version 21.3.1.  I'm using Cygwin as
my shell, the latest version of auctex, and MikTeX version: MiKTeX-TeX
2.3.1222 (3.141592) (MiKTeX 2.3).

I can compile the file without difficulty from the cygwin shell, from
the DOS prompt, or from a cygwin shell started from within emacs.  Any
help would be much appreciated.  My .emacs is below, if it helps.

Cheers,
Steve

------------------------------------------------------------------------
-------
(global-set-key [f5] 'enlarge-window)
(global-set-key [f6] 'shrink-window)
(global-set-key "\C-cl" 'goto-line)     
(global-set-key [end] 'end-of-buffer)
(global-set-key [home] 'beginning-of-buffer)
(put 'upcase-region 'disabled nil)
(put 'downcase-region 'disabled nil)
(put 'downcase-region-or-word 'disabled nil)
(put 'upcase-region-or-word 'disabled nil)
(setq transient-mark-mode t)
;; (setq-default modifier-keys-sticky-time '1.1)

(setq load-path (cons "~/elisp" load-path))
(global-font-lock-mode t)

;; =-=-=-=-=-=-= USE cygwin as a shell =-=-=-=-=-=-= 
;; This assumes that Cygwin is installed in C:\cygwin (the
;; default) and that C:\cygwin\bin is not already in your
;; Windows Path (it generally should not be).
;;
(setq exec-path (cons "C:/cygwin/bin" exec-path))
(setenv "PATH" (concat "C:\\cygwin\\bin;" (getenv "PATH")))
;;
;; NT-emacs assumes a Windows command shell, which you change
;; here.
;;
(setq process-coding-system-alist '(("bash" . undecided-unix)))
(setq shell-file-name "bash")
(setenv "SHELL" shell-file-name) 
(setq explicit-shell-file-name shell-file-name) 
;;
;; This removes unsightly ^M characters that would otherwise
;; appear in the output of java applications.
;;
(add-hook 'comint-output-filter-functions
          'comint-strip-ctrl-m)

;;(require 'cygwin-mount)
;;(require 'cygwin32-mount)
;;(cygwin32-mount-activate)

;;=-=-=-=-=-=-= ESS-- for use with R =-=-=-=-=-=-= 
(load "$HOME/elisp/src/ess-5.2.2/lisp/ess-site.elc")

;; (require 'ess-site) ;; works only for ess-site in default location

;;;;;;;;;;;;;;;  BEGIN AUCTEX ;;;;;;;;;;;;;;;;;;;;;;;;;
(require 'tex-site)
(setq tex-default-mode 'latex-mode)
(setq text-mode-hook 'turn-on-auto-fill)
(if window-system
    (require 'hilit-LaTeX))   ;; highlight latex commands
(if window-system
    (require 'font-latex))    ;; font lock (highlights C commands)
(autoload 'turn-on-bib-cite "bib-cite")    ;;; bib-cite
(add-hook 'LaTeX-mode-hook 'turn-on-bib-cite)

;;=-=-=-=-=-=-=-=-=-=-=-= BEGIN ispell =-=-=-=-=-=-=-=-=-=-=-= 
;; DOS method for PATH uses ; as a separator
;; (setenv "PATH" (concat 
;;              "c:\\cygwin\\usr\\local\\bin" 
;;              (getenv "PATH")))
(setq-default ispell-program-name "c:/cygwin/usr/bin/aspell") 
;; (require 'flyspell)
;;(setq-default ispell-extra-args '("--reverse")) 

;; end of .emacs




reply via email to

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