/usr/share/doc/info/html
NameSizeModeActions
Basic-Windows.html80670644editdlrm
Colors-and-Styles.html82000644editdlrm
command_002dline-menu-items.html27530644editdlrm
Cursor-Commands.html104800644editdlrm
cursor_002dmovement_002dscrolls.html27530644editdlrm
Custom-Key-Bindings.html52510644editdlrm
goto_002dinvocation.html27050644editdlrm
goto_002dnode.html26690644editdlrm
Index-Commands.html64390644editdlrm
Index.html1031770644editdlrm
index.html62340644editdlrm
infokey-format.html99810644editdlrm
INFOPATH.html26550644editdlrm
infopath_002dno_002ddefaults.html27350644editdlrm
Invoking-Info.html291530644editdlrm
min_002dsearch_002dlength.html27170644editdlrm
Miscellaneous-Commands.html121190644editdlrm
Node-Commands.html158760644editdlrm
Parts-of-an-Xref.html58750644editdlrm
Printing-Nodes.html49050644editdlrm
repeated_002dsearch.html27150644editdlrm
Scrolling-Commands.html121680644editdlrm
scroll_002dbehavior.html26970644editdlrm
Searching-Commands.html119550644editdlrm
Selecting-Xrefs.html80770644editdlrm
Stand_002dalone-Info.html51670644editdlrm
The-Echo-Area.html153100644editdlrm
The-Mode-Line.html47810644editdlrm
Variables.html203700644editdlrm
variable_002dassignment.html27290644editdlrm
Window-Commands.html43050644editdlrm
Xref-Commands.html39940644editdlrm
_002d_002dall.html26590644editdlrm
_002d_002dapropos.html26830644editdlrm
_002d_002dinit_002dfile.html27030644editdlrm
_002d_002draw_002descapes.html27150644editdlrm
_002d_002dshow_002doptions.html27210644editdlrm
_002d_002dvi_002dkeys.html26910644editdlrm
Edit: /usr/share/doc/info/html/Colors-and-Styles.html (8200B)
Colors and Styles (Stand-alone GNU Info 6.8)

13 Colors and Styles

You can choose to highlight parts of Info’s display, such as cross-references and search matches, using a variety of styles, including colors, boldface and underline. Here are the variables that are available to do this:

Used for cross-references and menu entries.

Used for a cross-reference or menu entry when typing RET would have the effect of following said cross-reference or menu entry.

match-style

Used for matches from a search command. (See Searching an Info File.)

Each of these is given in the .infokey file just as the variables in the previous chapter. Their values are a comma-separated list of values in the following table:

black
red
green
yellow
blue
magenta
cyan
white

Use the color specified for text.

nocolor
nocolour

Turn off any color that was in effect, using the terminal’s default color.

bgblack
bgred
bggreen
bgyellow
bgblue
bgmagenta
bgcyan
bgwhite

Use the color specified for the background.

bgnocolor
bgnocolour

Use the terminal’s default background color.

underline
nounderline

Turn text underline on or off.

standout
nostandout

Turn ‘standout mode’ on or off. Standout mode entails the use of appearance modes that make text stand out, and varies between terminals.

bold
regular
nobold

Turn boldface on or off.

blink
noblink

Make the text blink, or not.

Here is an sample excerpt from an .infokey file:

#var
link-style=yellow
active-link-style=yellow,bold
match-style=underline,bold,nocolor

With this, cross-references are all yellow, and active cross-references are additionally displayed in bold. Any search matches will be shown in bold, and underlined. Moreover, if there is a search match inside a cross-reference, the ‘nocolor’ rendition style will cancel the yellow color, leaving the text in the match the terminal’s default color. (Note, however, that the rendition styles for active cross-references take priority over those for search matches, so search matches there will still be displayed in yellow.)


Next: Customizing Key Bindings and Variables, Previous: Manipulating Variables, Up: Stand-alone GNU Info   [Contents][Index]