;; 05-latex-sy.el --- LaTeX Settings -*- Emacs-Lisp -*-
-;; Copyright (C) 2007 - 2012 Steve Youngs
+;; Copyright (C) 2007 - 2013 Steve Youngs
;; Author: Steve Youngs <steve@sxemacs.org>
;; Maintainer: Steve Youngs <steve@sxemacs.org>
;; Created: <2007-12-02>
-;; Time-stamp: <Sunday Jun 10, 2012 10:55:18 steve>
+;; Time-stamp: <Friday Aug 16, 2013 09:44:34 steve>
;; Download: <http://bastard.steveyoungs.com/~steve/SXEmacs/inits/>
;; HTMLised: <http://bastard.steveyoungs.com/~steve/SXEmacs/htmlinits/05-latex-sy.html>
;; Git Repo: git clone http://git.sxemacs.org/syinit
(require 'reftex)
(require 'reftex-vars)
;(require 'latex-units)
-(require 'font-latex)
+;(require 'font-latex)
;:*=======================
;:* Shutup the byte-compiler
;: RefTeX is a minor mode with distinct support for \ref, \label and
;: \cite commands in (multi-file) LaTeX documents.
(setq
- reftex-default-label-alist-entries '(Sideways
- AMSTeX
- amsmath
- endnotes
- fancybox
- floatfig
- longtable
- picinpar
- rotating
- sidecap
- subfigure
- supertab
- wrapfig
- LaTeX)
+ reftex-default-label-alist-entries
+ '(Sideways AMSTeX amsmath endnotes fancybox floatfig longtable
+ picinpar rotating sidecap subfigure supertab wrapfig LaTeX)
reftex-enable-partial-scans t
reftex-extra-bindings t
reftex-guess-label-type t
TeX-run-command nil t))))
;; Add a couple more things if we're in X
-(when (and (device-on-window-system-p)
- (featurep 'latex-toolbar)
- (featurep 'outl-mouse))
- (add-hook 'LaTeX-mode-hook
- #'(lambda ()
- (turn-on-outl-mouse-minor-mode)
- (latex-toolbar-install))))
+;;(when (and (device-on-window-system-p)
+;; (featurep 'latex-toolbar)
+;; (featurep 'outl-mouse))
+;; (add-hook 'LaTeX-mode-hook
+;; #'(lambda ()
+;; (turn-on-outl-mouse-minor-mode)
+;; (latex-toolbar-install))))
(setq LaTeX-section-hook
'(LaTeX-section-heading