##### 29.3.1.2 Understanding how browse macros employ macro variables

The definition of each browse macro includes predefined macro variables for a destination for the link and for a label. Table 29-1 shows the default values of the link destination and link label used in <$_prev> and <$_next> for each file position.

Table 29-1 Default destination and label values for browse macros

Macro | File position in sequence | Destination value | Label value
    <$_prev>
| First file produced from root map | None (no destination code) |
    At Start
All other files | <$$_prevfile> |
    <$$_prevtitle>
    <$_next>
| Last file produced from root map | None (no destination code) |
    At End
All other files | <$$_nextfile> |
    <$$_nexttitle>

Table 29-2 shows the meanings of the macro variables used in browse-macro definitions.

Table 29-2 Component macro variables for browse macros

Macro | Macro variable | Description
    <$_prev>
    <$$_prevfile>
| File name of preceding file
    <$$_prevtitle>
| Title of preceding file
    <$_next>
    <$$_nextfile>
| File name of following file
    <$$_nexttitle>
| Title of following file
    Either macro
    <$$_currfile>
| File name of current file
    <$$_currtitle>
| Title of current file (the one used in HTML <title> element)

See §27.7 Referencing split and extract files for additional macro variables that refer to file names and titles of split and extracted files.

Previous Topic: 29.3.1.1 Understanding how browse macros vary by file position

Next Topic: 29.3.2 Choosing buttons versus text links for a browse sequence

Parent Topic: 29.3.1 Understanding how browse macros work

Sibling Topics:

29.3.1.1 Understanding how browse macros vary by file position