Shawn Way
2005-02-09 00:47:28 UTC
I've been racking my brain out trying to get these installed on a
windows system with the following set up:
XEmacs-21.4.13
Ess-5.2.5
Auctex-11.55
Any thoughts? I'm not a coder by any means, I'd just like to get a
fully functional auctex (with toolbars) going. I also do not really
read the news group (or have access to it) so if you could email me
directly, it would be appreciated.
Thanks in advance.
Shawn Way, PE
Engineering Manager
I'm pasting my init file below:
;;;;;;;;;;;;;;;;;;;;;;;;;;; -*- Mode: Emacs-Lisp -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;
;; .emacs --- A simple startup file, enabling Auctex (and ispell.info)
;; Author : Claus Dethlefsen
;; Created On : Wed Aug 30 10:41:44 2000
;; Last Modified By: Claus Dethlefsen
;; Last Modified On: Thu Jan 10 12:44:02 2002
;; Update Count : 8
;; Status : Ok, but adjust the path to auctex
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;
;; Put this file in your HOME directory (e.g. c:\)
;; See http://www.math.auc.dk/~dethlef/Tips/
;; for more information on setting up LaTeX, Emacs, AucTeX etc.
;; -----------------------------------------------------------------
;; AUC TeX
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(setq font-lock-maximum-decoration t)
(load "tex-mik")
;(load "tex-bar")
;; -----------------------------------------------------------------
;; Reftex activation (Reftex is included with Emacs 21.1)
(autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
(autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil)
(autoload 'reftex-citation "reftex-cite" "Make citation" nil)
(autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
;; Load TeX-Toolbar
;(autoload 'tex-toolbar "c:/Program
Files/XEmacs/Xemacs-packages/tex-toolbar.el" "tex-toolbar" t)
;(autoload 'toolbar-x "c:/Program
Files/XEmacs/Xemacs-packages/toolbar-x.el" "toolbar-x" t)
;(require 'toolbar-x)
;(add-hook 'LaTeX-mode-hook 'LaTex-install-toolbar)
;; Ispell has it's own coding-system support which is broken under
W32
(setq ispell-dictionary-alist
'((nil "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil
raw-text-dos)
("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B")
nil raw-text-dos)
("british" "[A-Za-z]" "[^A-Za-z]" "[']" nil
("-B" "-d" "british") nil raw-text-dos)
("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B")
nil raw-text-dos)))
;(set-face-font 'default "Times New Roman:Regular:12::Cyrillic")
;(set-face-font 'modeline "MS Sans Serif:Regular:10")
;;(if (fboundp 'w32-shell-dos-semantics) nil
;;
;;(defvar w32-system-shells '("cmd" "cmd.exe" "command" "command.com"
;; "4nt" "4nt.exe" "4dos"
"4dos.exe"
;; "ndos" "ndos.exe")
;; "List of strings recognized as Windows NT/9X system shells.")
;;
;;(defun w32-using-nt ()
;; "Return t if literally running on Windows NT (i.e., not Windows
9X)."
;; (and (eq system-type 'windows-nt) (getenv "SystemRoot")))
;;
;;(defun w32-shell-name ()
;; "Return the name of the shell being used."
;; (or (and (boundp 'explicit-shell-file-name)
explicit-shell-file-name)
;; (getenv "ESHELL")
;; (getenv "SHELL")
;; (and (w32-using-nt) "cmd.exe")
;; "command.com"))
;;
;;(defun w32-system-shell-p (shell-name)
;; (and shell-name
;; (member (downcase (file-name-nondirectory shell-name))
;; w32-system-shells)))
;;
;;(defun w32-shell-dos-semantics ()
;; "Return t if the interactive shell being used expects msdos shell
semantics."
;; (or (w32-system-shell-p (w32-shell-name))
;; (and (member (downcase (file-name-nondirectory
(w32-shell-name)))
;; '("cmdproxy" "cmdproxy.exe"))
;; (w32-system-shell-p (getenv "COMSPEC")))))
;;)
;;
(load "C:/ess/lisp/sweave-site.el")
(load "C:/ess/lisp/ess-site.el")
;;
(require 'paren)
;(load "vc-hooks")
;(setq vc-path "C:/program files/ComponentSoftware/cs-rcs/system")
;;
(setq ess-pre-run-hook
'((lambda () (setq ess-directory "h:/"))))
;;
(require 'ess-site)
windows system with the following set up:
XEmacs-21.4.13
Ess-5.2.5
Auctex-11.55
Any thoughts? I'm not a coder by any means, I'd just like to get a
fully functional auctex (with toolbars) going. I also do not really
read the news group (or have access to it) so if you could email me
directly, it would be appreciated.
Thanks in advance.
Shawn Way, PE
Engineering Manager
I'm pasting my init file below:
;;;;;;;;;;;;;;;;;;;;;;;;;;; -*- Mode: Emacs-Lisp -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;
;; .emacs --- A simple startup file, enabling Auctex (and ispell.info)
;; Author : Claus Dethlefsen
;; Created On : Wed Aug 30 10:41:44 2000
;; Last Modified By: Claus Dethlefsen
;; Last Modified On: Thu Jan 10 12:44:02 2002
;; Update Count : 8
;; Status : Ok, but adjust the path to auctex
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;
;; Put this file in your HOME directory (e.g. c:\)
;; See http://www.math.auc.dk/~dethlef/Tips/
;; for more information on setting up LaTeX, Emacs, AucTeX etc.
;; -----------------------------------------------------------------
;; AUC TeX
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil)
(setq font-lock-maximum-decoration t)
(load "tex-mik")
;(load "tex-bar")
;; -----------------------------------------------------------------
;; Reftex activation (Reftex is included with Emacs 21.1)
(autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t)
(autoload 'turn-on-reftex "reftex" "RefTeX Minor Mode" nil)
(autoload 'reftex-citation "reftex-cite" "Make citation" nil)
(autoload 'reftex-index-phrase-mode "reftex-index" "Phrase mode" t)
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
;; Load TeX-Toolbar
;(autoload 'tex-toolbar "c:/Program
Files/XEmacs/Xemacs-packages/tex-toolbar.el" "tex-toolbar" t)
;(autoload 'toolbar-x "c:/Program
Files/XEmacs/Xemacs-packages/toolbar-x.el" "toolbar-x" t)
;(require 'toolbar-x)
;(add-hook 'LaTeX-mode-hook 'LaTex-install-toolbar)
;; Ispell has it's own coding-system support which is broken under
W32
(setq ispell-dictionary-alist
'((nil "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B") nil
raw-text-dos)
("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B")
nil raw-text-dos)
("british" "[A-Za-z]" "[^A-Za-z]" "[']" nil
("-B" "-d" "british") nil raw-text-dos)
("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil ("-B")
nil raw-text-dos)))
;(set-face-font 'default "Times New Roman:Regular:12::Cyrillic")
;(set-face-font 'modeline "MS Sans Serif:Regular:10")
;;(if (fboundp 'w32-shell-dos-semantics) nil
;;
;;(defvar w32-system-shells '("cmd" "cmd.exe" "command" "command.com"
;; "4nt" "4nt.exe" "4dos"
"4dos.exe"
;; "ndos" "ndos.exe")
;; "List of strings recognized as Windows NT/9X system shells.")
;;
;;(defun w32-using-nt ()
;; "Return t if literally running on Windows NT (i.e., not Windows
9X)."
;; (and (eq system-type 'windows-nt) (getenv "SystemRoot")))
;;
;;(defun w32-shell-name ()
;; "Return the name of the shell being used."
;; (or (and (boundp 'explicit-shell-file-name)
explicit-shell-file-name)
;; (getenv "ESHELL")
;; (getenv "SHELL")
;; (and (w32-using-nt) "cmd.exe")
;; "command.com"))
;;
;;(defun w32-system-shell-p (shell-name)
;; (and shell-name
;; (member (downcase (file-name-nondirectory shell-name))
;; w32-system-shells)))
;;
;;(defun w32-shell-dos-semantics ()
;; "Return t if the interactive shell being used expects msdos shell
semantics."
;; (or (w32-system-shell-p (w32-shell-name))
;; (and (member (downcase (file-name-nondirectory
(w32-shell-name)))
;; '("cmdproxy" "cmdproxy.exe"))
;; (w32-system-shell-p (getenv "COMSPEC")))))
;;)
;;
(load "C:/ess/lisp/sweave-site.el")
(load "C:/ess/lisp/ess-site.el")
;;
(require 'paren)
;(load "vc-hooks")
;(setq vc-path "C:/program files/ComponentSoftware/cs-rcs/system")
;;
(setq ess-pre-run-hook
'((lambda () (setq ess-directory "h:/"))))
;;
(require 'ess-site)