223 |
|
|
224 |
(font-latex-make-sectioning-faces font-latex-sectioning-max) |
(font-latex-make-sectioning-faces font-latex-sectioning-max) |
225 |
|
|
|
;; These aliases should be removed after the next release: |
|
|
;; Provide alias for version 11.55: |
|
|
(condition-case nil |
|
|
(make-obsolete-variable 'font-latex-title-fontify |
|
|
'font-latex-fontify-sectioning |
|
|
"AUCTeX 11.81") |
|
|
(wrong-number-of-arguments 'font-latex-title-fontify |
|
|
'font-latex-fontify-sectioning)) |
|
|
;; Should we provide an alias for version 11.50-11.54? |
|
|
;; (make-obsolete-variable 'font-latex-title-fontity |
|
|
;; 'font-latex-title-fontify "AUCTEX 11.55") |
|
226 |
|
|
227 |
;;; Keywords |
;;; Keywords |
228 |
|
|
631 |
(dolist (item |
(dolist (item |
632 |
'(("\\(^\\|[^\\]\\)\\(&+\\)" 2 'font-latex-warning-face) |
'(("\\(^\\|[^\\]\\)\\(&+\\)" 2 'font-latex-warning-face) |
633 |
("\\$\\$\\([^$]+\\)\\$\\$" 1 'font-latex-math-face) |
("\\$\\$\\([^$]+\\)\\$\\$" 1 'font-latex-math-face) |
634 |
(font-latex-match-quotation (0 'font-latex-string-face append)))) |
(font-latex-match-quotation (0 'font-latex-string-face append)) |
635 |
|
;; Hack to remove the verbatim face from the \ in |
636 |
|
;; \end{verbatim} and similar. The same hack is used in |
637 |
|
;; tex-mode.el. |
638 |
|
("^[ \t]*\\(\\\\\\)end" |
639 |
|
(1 (get-text-property (match-end 1) 'face) t)))) |
640 |
(add-to-list 'font-latex-keywords-1 item) |
(add-to-list 'font-latex-keywords-1 item) |
641 |
(add-to-list 'font-latex-keywords-2 item)) |
(add-to-list 'font-latex-keywords-2 item)) |
642 |
(dolist (item |
(dolist (item |
708 |
"\\)}.*\\(\n\\)") |
"\\)}.*\\(\n\\)") |
709 |
(1 "|" t))) |
(1 "|" t))) |
710 |
(add-to-list 'font-latex-syntactic-keywords |
(add-to-list 'font-latex-syntactic-keywords |
711 |
`(,(concat "\\(\n\\)[ \t]*\\\\end *{\\(?:" verb-envs "\\)}") |
;; Using the newline character for the syntax |
712 |
|
;; property often resulted in fontification |
713 |
|
;; problems when text was inserted at the end of |
714 |
|
;; the verbatim environment. That's why we now use |
715 |
|
;; the starting backslash of \end. There is a hack |
716 |
|
;; in `font-latex-make-user-keywords' to remove the |
717 |
|
;; spurious fontification of the backslash. |
718 |
|
`(,(concat "^[ \t]*\\(\\\\\\)end *{\\(?:" verb-envs "\\)}") |
719 |
(1 "|" t)))) |
(1 "|" t)))) |
720 |
(unless (= (length verb-macros-with-delims) 0) |
(unless (= (length verb-macros-with-delims) 0) |
721 |
(add-to-list 'font-latex-syntactic-keywords |
(add-to-list 'font-latex-syntactic-keywords |