29.05.2014 Views

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE

ConTEXt an excursion - Pragma ADE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Interactive mode in electronic documents<br />

• \from[hia::euifeest] will produce <strong>an</strong> active title <strong>an</strong>d is linked to the page where<br />

chapter Eui--feest begins<br />

• \goto{Eui||feest}[hia::euifeest] will produce <strong>an</strong> active word Eui--feest <strong>an</strong>d is<br />

linked to the page where chapter Eui--feest begins<br />

• \at{page}[hia::euifeest] will produce <strong>an</strong> active word page <strong>an</strong>d page number <strong>an</strong>d<br />

is linked to that page<br />

• \in{chapter}[hia::euifeest] will produce on active word chapter <strong>an</strong>d chapter<br />

number <strong>an</strong>d is linked to that chapter<br />

As you c<strong>an</strong> see the :: separates the (logical) file name <strong>an</strong>d the destination in that file.<br />

contents<br />

index<br />

comm<strong>an</strong>ds<br />

definitions<br />

colofon<br />

30.5 Menus<br />

You c<strong>an</strong> define navigation tools with:<br />

\defineinteractionmenu[.1.][.2.][..,..=..,..]<br />

The first bracket pair is used for a logical name that c<strong>an</strong> be used to recall the menu. The<br />

second pair contains the location on the screen. The third pair is used for setting up the<br />

menu.<br />

A typical menu definition might look like this:<br />

\setupcolors<br />

[state=start]<br />

\setupinteraction<br />

[state=start,<br />

menu=on]<br />

\defineinteractionmenu<br />

[mymenu]<br />

[right]<br />

[state=start,<br />

exit<br />

search +<br />

go back<br />

– +<br />

30 85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!