X-Git-Url: https://code.delx.au/gnu-emacs-elpa/blobdiff_plain/9398c03c74b6df40aad01a29b628d591cd5f3498..9e2de34d6c42dc54148303b334dea23e630be2ba:/packages/auctex/font-latex.el diff --git a/packages/auctex/font-latex.el b/packages/auctex/font-latex.el index 765d6cbbf..2b146c7a6 100644 --- a/packages/auctex/font-latex.el +++ b/packages/auctex/font-latex.el @@ -1,6 +1,7 @@ ;;; font-latex.el --- LaTeX fontification for Font Lock mode. -;; Copyright (C) 1996-2009, 2012 Free Software Foundation, Inc. +;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, +;; 2004, 2005, 2006, 2007, 2008 Free Software Foundation. ;; Authors: Peter S. Galbraith ;; Simon Marshall @@ -283,43 +284,11 @@ variable `font-latex-fontify-sectioning'." num) "appendix" "displaybreak" "allowdisplaybreaks" "include") 'font-latex-warning-face 1 noarg) ("variable" - (("setlength" "|{\\{") ("settowidth" "|{\\{") ("settoheight" "{{") - ("settodepth" "{{") ("setcounter" "{|{\\") - ("addtolength" "|{\\{") ("addtocounter" "{|{\\") - ("stepcounter" "{") ("refstepcounter" "{") - ("arabic" "{") ("roman" "{") ("Roman" "{") ("alph" "{") ("Alph" "{") - ("fnsymbol" "{")) + (("setlength" "|{\\{") ("settowidth" "|{\\{") ("setcounter" "{|{\\") + ("addtolength" "|{\\{") ("addtocounter" "{|{\\")) 'font-lock-variable-name-face 2 command) - ("biblatexnoarg" - ("newrefsegment" "mancite" "pno" "ppno" "nopp" "psq" "psqq") - 'font-lock-variable-name-face 2 noarg) - ("biblatex" - (("newrefsection" "[") ("ExecuteBibliographyOptions" "[{") - ("printbibliography" "[") ("printshorthands" "[") ("printbibheading" "[") - ("addbibresource" "[{") ("addglobalbib" "[{") ("addsectionbib" "[{") - ("bibbysection" "[") ("bibbysegment" "[") ("bibbycategory" "[") - ("DeclareBibliographyCategory" "{") ("addtocategory" "{{") ("defbibenvironment" "{{{{") - ("defbibheading" "{[{") ("defbibnote" "{{") ("defbibfilter" "{{") ("defbibcheck" "{{") - ("defbibentryset" "{{") ("Cite" "[[{") ("parencite" "*[[{") ("Parencite" "[[{") - ("footcite" "[[{") ("footcitetext" "[[{") ("textcite" "[[{") ("Textcite" "[[{") - ("smartcite" "[[{") ("Smartcite" "[[{") ("supercite" "{") ("autocite" "*[{{") - ("Autocite" "*[{{") ("citeauthor" "[{{") ("Citeauthor" "[{{") ("citetitle" "*[{{") - ("citeyear" "*[[{") ("citedate" "*[[{") ("citeurl" "[[{") ("parentext" "{") - ("brackettext" "{") ("fullcite" "[[{") ("fullfootcite" "[[{") ("volcite" "[{[[") - ("Volcite" "[{[[") ("pvolcite" "[{[[") ("Pvolcite" "[{[[") ("fvolcite" "[{[[") - ("ftvolcite" "[{[[") ("svolcite" "[{[[") ("Svolcite" "[{[[") ("tvolcite" "[{[[") - ("Tvolcite" "[{[[") ("avolcite" "[{[[") ("Avolcite" "[{[[") ("notecite" "[[{") - ("Notecite" "[[{") ("pnotecite" "[[{") ("Pnotecite" "[[{") ("fnotecite" "[[{") - ("citename" "[[{[{") ("citelist" "[[{[{") ("citefield" "[[{[{") ("citereset" "*") - ("RN" "{") ("Rn" "{") ("DefineBibliographyStrings" "{{") ("DefineBibliographyExtras" "{{") - ("UndefineBibliographyExtras" "{{") ("DefineHyphenationExceptions" "{{") - ("NewBibliographyString" "{") ("autocites" "(([[{") ("Autocites" "(([[{") - ("cites" "(([[{") ("Cites" "(([[{") ("parencites" "(([[{") ("Parencites" "(([[{") - ("footcites" "(([[{") ("footcitetexts" "(([[{") ("smartcites" "(([[{") - ("Smartcites" "(([[{") ("textcites" "(([[{") ("Textcites" "(([[{") ("supercites" "(([[{")) - 'font-lock-constant-face 2 command) ("reference" - (("nocite" "*{") ("cite" "*[[{") ("label" "{") ("pageref" "{") + (("nocite" "{") ("cite" "[{") ("label" "{") ("pageref" "{") ("vref" "{") ("eqref" "{") ("ref" "{") ("include" "{") ("input" "{") ("bibliography" "{") ("index" "{") ("glossary" "{") ("footnote" "[{") ("footnotemark" "[") ("footnotetext" "[{")) @@ -328,13 +297,12 @@ variable `font-latex-fontify-sectioning'." num) (("begin" "{") ("end" "{") ("pagenumbering" "{") ("thispagestyle" "{") ("pagestyle" "{") ("nofiles" "") ("includeonly" "{") ("bibliographystyle" "{") ("documentstyle" "[{") - ("documentclass" "[{[") ("newenvironment" "*{[[{{") + ("documentclass" "[{") ("newenvironment" "*{[[{{") ("newcommand" "*|{\\[[{") ("newlength" "|{\\") ("newtheorem" "{[{[") - ("providecommand" "*|{\\[[{") - ("newcounter" "{[") ("renewenvironment" "*{[[{{") + ("newcounter" "{[") ("renewenvironment" "*{[{{") ("renewcommand" "*|{\\[[{") ("renewtheorem" "{[{[") - ("usepackage" "[{[") ("fbox" "{") ("mbox" "{") ("rule" "[{{") + ("usepackage" "[{") ("fbox" "{") ("mbox" "{") ("sbox" "{") ("vspace" "*{") ("hspace" "*{") ("thinspace" "") ("negthinspace" "") ;; XXX: Should macros without arguments rather be listed in a ;; separate category with 'noarg instead of 'command handling? @@ -545,10 +513,7 @@ use." (7 (font-latex-matched-face 7) append t))) ((eq type 'noarg) `(,(intern (concat prefix name)) - ;; Quote a list of face properties but do not to quote a face symbol. - (0 ,(if (and (listp face) (not (fboundp (car face)))) - `',face - face)))) + (0 ,face))) ((eq type 'declaration) `(,(intern (concat prefix name)) (0 'font-latex-warning-face t t) @@ -822,11 +787,11 @@ Generated by `font-latex-make-user-keywords'."))) "Add KEYWORDS to CLASS. KEYWORDS is a list of keywords or keywords with syntax specs. CLASS corresponds to a keyword class and can be one of the -symbols 'warning, 'variable, 'reference, 'biblatex, 'function, -sectioning-0, 'sectioning-1, 'sectioning-2, 'sectioning-3, -'sectioning-4, 'sectioning-5, 'slide-title, 'textual, -'bold-command, 'italic-command, 'math-command, 'type-command, -'bold-declaration, 'italic-declaration or 'type-declaration. +symbols 'warning, 'variable, 'reference, 'function, sectioning-0, +'sectioning-1, 'sectioning-2, 'sectioning-3, 'sectioning-4, +'sectioning-5, 'slide-title, 'textual, 'bold-command, +'italic-command, 'math-command, 'type-command, 'bold-declaration, +'italic-declaration or 'type-declaration. The keywords will be added to the buffer-local list of keywords of the respective keyword class and necessary updates of the font