%cm ----------------------- GLOBAL DEFINITIONS --------------------- %attrdef(green,GREEN,NO) %attrdef(bold_yellow,YELLOW,HI) %linkdef(next,RED,RV+HI,LK) %linkdef(prev,RED,RV+HI,LK) %linkdef(btrk,RED,RV+HI,LB) %cm ------------------------ HYPERTEXT CARDS ---------------------- %card(card_1,green,3) %link("NEXT",card_2,next) %link("PREV",card_3,prev) %link("BTRK",,btrk) %attr(bold_yellow)HYPERTEXT CARD 1 This is a hypertext card that contains three links: the NEXT button can be used to select HYPERTEXT CARD 2, the PREV button can be used to select HYPERTEXT CARD 3, and the BTRK button can be used to select the last card displayed (either HYPERTEXT CARD 2 or 3). The display attributes for the links are defined by the %%linkdef commands in the GLOBAL DEFINITIONS area at the top of the file. The display attributes for the card titles and other text are defined by the %%attrdef commands in the GLOBAL DEFINITIONS area. The display attributes named bold_yellow are used for card titles and the attributes named green are used for the rest of the text. %card_end(card_1) %card(card_2,green,3) %link("NEXT",card_3,next) %link("PREV",card_1,prev) %link("BTRK",,btrk) %attr(bold_yellow)HYPERTEXT CARD 2 You can change display attributes at any point in the text of a card. For example, this is%attr(bold_yellow)BOLD YELLOW%attr(green), %go and this is not. %card_end(card_2) %card(card_3,green,3) %link("NEXT",card_1,next) %link("PREV",card_2,prev) %link("BTRK",,btrk) %attr(bold_yellow)HYPERTEXT CARD 3 You can also use the %%tx command to switch back to the default display attributes. For example, this is%attr(bold_yellow)BOLD %go YELLOW%tx()and this is not. %card_end(card_3)