Changes

Jump to navigation Jump to search
m
no edit summary
In an interactive document it is useful to be able to put buttons which do specific navigation tasks. The {{cmd|button}} does precisely this, and it can be included in a layer which can be put anywhere on a page. Here is an example:
 
<context source=yes mode=mkiv text="This results in the following:">
\setuppapersize[A5A7][A5A7]
\setupinteraction[state=start]
\setupbodyfont[10pt]
\setlayerframed[MyButton]
[x=50mm30mm,y=70mm40mm,
location={lo,hi}]
[width=50mm,height=30mm,
\stoptext
</context>
 
Indeed, instead of {{cmd|symbol}} one can use any other character, or even a figure with the command {{cmd|externalfigure}}.
 
[[Category:Interaction]]

Navigation menu