auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/font-latex.el,v


From: Ralf Angeli
Subject: [AUCTeX-diffs] Changes to auctex/font-latex.el,v
Date: Wed, 03 Oct 2007 20:57:41 +0000

CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/10/03 20:57:40

Index: font-latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/font-latex.el,v
retrieving revision 5.179
retrieving revision 5.180
diff -u -b -r5.179 -r5.180
--- font-latex.el       3 Oct 2007 12:30:29 -0000       5.179
+++ font-latex.el       3 Oct 2007 20:57:40 -0000       5.180
@@ -614,7 +614,7 @@
   "List of user-defined keyword classes for font locking.
 
 Every keyword class consists of four parts, a name, a list of
-keywords, a face and a specifier for the type of macros to be
+keywords, a face and a specifier for the type of macro to be
 highlighted.
 
 When adding new entries, you have to use unique values for the
@@ -627,36 +627,34 @@
 a simple command name omitting the leading backslash or a list
 consisting of the command name and a string specifying the syntax
 of the command.  The latter is useful if you want to match LaTeX
-macros with arguments (see below).  In that case you should
-choose the option \"Keywords with specs\" which lets you specify
-the occurence and order of optional (\"[\") and mandatory (\"{\")
-arguments for each keyword.  For example for \"documentclass\"
-you'd use \"[{\" because the macro has one optional followed by
-one mandatory argument.  Optionally starred macros can be
-indicated with \"*\".  In case an argument is an unbraced macro,
-use \"\\\".  You can also specify two alternatives by prefixing
-them with \"|\".  As an example, the specifier for \\newcommand
-is \"*|{\\[[{\".
+macros with arguments (see below).  You can specify the occurence
+and order of optional (\"[\") and mandatory (\"{\") arguments for
+each keyword.  For example for \"documentclass\" you'd use \"[{\"
+because the macro has one optional followed by one mandatory
+argument.  Optionally starred macros can be indicated with \"*\".
+In case an argument is an unbraced macro, use \"\\\".  You can
+also specify two alternative arguments by prefixing them with
+\"|\".  As an example, the specifier for \\newcommand is
+\"*|{\\=\\[[{\".
 
 The face argument can either be an existing face or a font
-specification made by you.  (The latter option is not available
-in XEmacs.)
+specification.  (The latter option is not available in XEmacs.)
 
 There are three alternatives for the class type:
 
-\"Command with arguments\" (symbol: 'command) comprises commands
-with the syntax \"\\foo[bar]{baz}\".  The mandatory arguments in
-curly braces will get the face you specified.
-
-\"Declaration inside TeX group\" (symbol: 'declaration) comprises
-commands with the syntax \"{\\foo bar}\".  The content inside the
-braces, excluding the command will get the face you specified.
-In case the braces are missing, the face will be applied to the
-command itself.
-
-\"Command without arguments\" (symbol: 'noarg) comprises commands
-with the syntax \"\\foo\".  The command itself will get the face
-you specified.
+A value of `command' indicates commands with arguments
+\(\"\\foo[bar]{baz}\").  The mandatory arguments in curly braces
+will get the face you specified.
+
+A value of `declaration' indicates declarations inside of TeX
+groups (\"{\\foo bar}\").  The content inside the braces,
+excluding the command, will get the face you specified.  In case
+the braces are missing, the face will be applied to the command
+itself.
+
+A value of `noarg' indicates commands without arguments
+\(\"\\foo\").  The command itself will get the face you
+specified.
 
 Setting this variable directly does not take effect;
 use \\[customize] or restart Emacs."




reply via email to

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