Next: code, Up: Indicating
The highlighting commands can be used to extract useful information from the file, such as lists of functions or file names. It is possible, for example, to write a program in Emacs Lisp (or a keyboard macro) to insert an index entry after every paragraph that contains words or phrases marked by a specified command. You could do this to construct an index of functions if you had not already made the entries.
The commands serve a variety of purposes:
@code{
sample-code}
@code
.
@kbd{
keyboard-characters}
@kbd
.
@key{
key-name}
@key
.
@samp{
text}
@samp
.
@verb{
text}
@verb
.
@var{
metasyntactic-variable}
@var
.
@env{
environment-variable}
@env
.
@file{
file-name}
@file
.
@command{
command-name}
@command
.
@option{
option}
@option
.
@dfn{
term}
@dfn
.
@cite{
reference}
@cite
.
@abbr{
abbreviation}
@acronym{
acronym}
@acronym
.
@indicateurl{
uniform-resource-locator}
@indicateurl
. (Use @url
(see @url
) for live url's.)
@email{
email-address[,
displayed-text]}
@email
.