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

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

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


From: Peter Milliken
Subject: RE: [h-e-w] problem with emacs/auctex/MikTeX: I can't find file `nonstopmodeinput{tmp.tex}
Date: Thu, 19 Aug 2004 07:09:27 +1000

Well, I realise this is absolutely no help at all :-) 

But it works fine for me. I don't use Auctex so I got curious and installed
it - it worked fine 'out of the box' for me :-)

I am happy to send you my .bashrc and .emacs files to see if you can work
out what is different - I suspect it must be a path 'thing' though. The
install instructions were remarkably easy to follow etc

BTW, I have Emacs 21.3 and (re)-installed my MikTex just a couple of days
ago - my Cygwin install is also current (been tracking a problem with
tar'ing files across multiple floppy volumes so I have been updating
everything in sight :-)).

Peter

> -----Original Message-----
> From: Scott, Steven [mailto:address@hidden
> Sent: Wednesday, August 18, 2004 10:12 AM
> To: address@hidden
> Subject: [h-e-w] problem with emacs/auctex/MikTeX: I can't find file
> `nonstopmodeinput{tmp.tex}
> 
> 
> 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
> 
> 


Warning:  Copyright ResMed.  Where the contents of this email and/or attachment 
includes materials prepared by ResMed, the use of those
materials is subject exclusively to the conditions of engagement between ResMed 
and the intended recipient.
 
This communication is confidential and may contain legally privileged 
information.
By the use of email over the Internet or other communication systems, ResMed is 
not waiving either confidentiality of, or legal
privilege in,the content of the email and of any attachments.
If the recipient of this message is not the intended addressee, please call 
ResMed immediately on  +61 2 9886 5000 Sydney, Australia.





reply via email to

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