Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 0fbb20b444
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (42 sloc) 1.477 kB
;;; emacs-rc-tex.el ---
;; Copyright (C) 2003 Alex Ott
;;
;; Author: alexott@gmail.com
;; Keywords:
;; Requirements:
;; Status: not intended to be distributed yet
(setenv "TEXINPUTS"
(concat (getenv "TEXINPUTS")
":/home/ott/tex/styles//:/home/ott/projects/fprog/journal-issues/class//"))
;(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 ()
(interactive)
(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)
(alexott/TeX-keymap)
; (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
Jump to Line
Something went wrong with that request. Please try again.