Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (42 sloc) 1.44 KB
;;; emacs-rc-tex.el ---
;; Copyright (C) 2003 Alex Ott
;; Author:
;; Keywords:
;; Requirements:
;; Status: not intended to be distributed yet
(setenv "TEXINPUTS"
(concat (getenv "TEXINPUTS")
;(require 'tex-site)
(setq-default TeX-master nil)
(setq TeX-parse-self t)
(setq TeX-auto-save t)
(setq TeX-default-mode 'latex-mode)
(setq TeX-open-quote "``")
(setq TeX-close-quote "''")
;(autoload 'turn-on-bib-cite "bib-cite")
(defun alexott/TeX-keymap ()
(local-set-key [(meta i)]
'(lambda ()
(insert "\n\\item "))))
(defun alexott/texinfo-hook ()
(local-set-key [delete] 'delete-char)
(setq delete-key-deletes-forward t))
(add-hook 'texinfo-mode-hook 'alexott/texinfo-hook)
(defun alexott/tex-mode-hook ()
(local-set-key "\\" 'TeX-electric-macro)
; (turn-on-bib-cite)
; (setq bib-cite-use-reftex-view-crossref t)
(add-hook 'TeX-mode-hook 'alexott/tex-mode-hook)
(add-hook 'LaTeX-mode-hook 'TeX-PDF-mode)
;; CDLaTeX mode
;(autoload 'cdlatex-mode "cdlatex" "CDLaTeX Mode" t)
;(autoload 'turn-on-cdlatex "cdlatex" "CDLaTeX Mode" nil)
;(add-hook 'LaTeX-mode-hook 'turn-on-cdlatex) ; with AUCTeX LaTeX mode
;(add-hook 'latex-mode-hook 'turn-on-cdlatex)
; with Emacs latex mode
;;; emacs-rc-tex.el ends here
Something went wrong with that request. Please try again.