(custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(case-fold-search t) '(current-language-environment "English") '(global-font-lock-mode t nil (font-lock)) '(show-paren-mode t) '(text-mode-hook (quote (turn-on-auto-fill text-mode-hook-identify))) '(transient-mark-mode t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) set-terminal-coding-system 'latin-1' ; the AUCTeX manual recommends these settings (setq TeX-parse-self t) ; Enable parse on load. (setq TeX-auto-save t) ; Enable parse on save. (add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode (setq reftex-plug-into-AUCTeX t) (add-hook 'TeX-mode-hook 'reftex-mode) ; for outline views (hide/show sections, chapters, etc.) (add-hook 'TeX-mode-hook '(lambda () (TeX-fold-mode 1))) (add-hook 'TeX-mode-hook '(lambda () (outline-minor-mode 1))) (add-hook 'TeX-mode-hook '(lambda () (TeX-PDF-mode 1)))