;; Spelling (setq ispell-program-name "aspell") (ispell-change-dictionary "british" t) ;; load flyspell mode as needed (add-hook `text-mode-hook `flyspell-mode) (add-hook `latex-mode-hook `flyspell-mode) (add-hook `tex-mode-hook `flyspell-mode) (add-hook `bibtex-mode-hook `flyspell-mode) ;; Highlight selection (transient-mark-mode 1) ;; fontification font-lock.el much better than the default hilit19.el ;***************************** (for coloring) ;;automatic Font Lock mode in TeX mode ;(add-hook 'tex-mode-hook 'turn-on-font-lock) ;;if Font Lock necessary for other than .tex files, uncomment following (global-font-lock-mode t) (setq font-lock-maximum-decoration t) ;; no emacs start-up message (setq inhibit-startup-message t) ;;(setq latex-run-command "latex") (setq latex-run-command "pdflatex") ;; CONTEXT (load "context") (setq tex-default-mode 'context-mode) (setq tex-output-extension ".pdf") (setq tex-dvi-view-command "start \"acrobat\" *") (setq header-user-name "Dan Fitton") (require 'gnu-bibtex)