auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/doc/auctex.texi


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/doc/auctex.texi
Date: Sun, 05 Jun 2005 10:04:48 -0400

Index: auctex/doc/auctex.texi
diff -u auctex/doc/auctex.texi:1.230 auctex/doc/auctex.texi:1.231
--- auctex/doc/auctex.texi:1.230        Sun Jun  5 13:58:56 2005
+++ auctex/doc/auctex.texi      Sun Jun  5 14:04:48 2005
@@ -1469,6 +1469,33 @@
 Face: @code{font-latex-type-face}
 @end table
 
address@hidden Deactivating defaults of built-in keyword classes
+
address@hidden font-latex-deactivated-keyword-classes
address@hidden ships with predefined lists of keywords for the classes
+described above.  You can disable these defaults per class by
+customizing the variable @code{font-latex-deactivated-keyword-classes}.
+This is a list of strings for keyword classes to be deactivated.  Valid
+entries are \"warning\", \"variable\", \"reference\", \"function\" ,
+\"sectioning-0\", \"sectioning-1\", \"sectioning-2\", \"sectioning-3\",
+\"sectioning-4\", \"sectioning-5\", \"textual\", \"bold-command\",
+\"italic-command\", \"math-command\", \"type-command\",
+\"bold-declaration\", \"italic-declaration\", \"type-declaration\".
+
+You can also get rid of certain keywords only.  For example if you want
+to remove highlighting of footnotes as references you can put the
+following stanza into your init file:
+
address@hidden
+(eval-after-load "font-latex"
+  '(setq-default
+    font-latex-match-reference-keywords-local
+    (remove "footnote" font-latex-match-reference-keywords-local)))
address@hidden lisp
+
+But note that this means fiddling with @fontlatex{}'s internals and is
+not guaranteed to work in future versions of @fontlatex{}.
+
 @subheading User-defined keyword classes
 
 In case the customization options explained above do not suffice for




reply via email to

[Prev in Thread] Current Thread [Next in Thread]