|
|
|
@ -17,8 +17,18 @@ |
|
|
|
(add-hook 'LaTeX-mode-hook 'my-LaTeX-mode-dollars) |
|
|
|
(add-hook 'LaTeX-mode-hook 'my-LaTeX-mode-dollars) |
|
|
|
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) |
|
|
|
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;; * Do not spell-check inside these commands |
|
|
|
|
|
|
|
;; (I should find the reference I used for this snippet) |
|
|
|
|
|
|
|
(setq ispell-tex-skip-alists |
|
|
|
|
|
|
|
(list |
|
|
|
|
|
|
|
(append |
|
|
|
|
|
|
|
(car ispell-tex-skip-alists) ;tell ispell to ignore content of this: |
|
|
|
|
|
|
|
'(("\\\\eqref" ispell-tex-arg-end) |
|
|
|
|
|
|
|
("\\\\cite" ispell-tex-arg-end) |
|
|
|
|
|
|
|
("\\\\author" ispell-tex-arg-end) |
|
|
|
|
|
|
|
("\\\\address" ispell-tex-arg-end) |
|
|
|
|
|
|
|
)) |
|
|
|
|
|
|
|
(cadr ispell-tex-skip-alists))) |
|
|
|
|
|
|
|
|
|
|
|
(defun dabbrev-expand-helper () |
|
|
|
(defun dabbrev-expand-helper () |
|
|
|
(interactive) |
|
|
|
(interactive) |
|
|
|
|