Difference between revisions of "Command/button"

From Wiki
Jump to navigation Jump to search
(Created page with "Documentation for \button")
 
 
Line 32: Line 32:
 
<cd:commandref name="menubutton"></cd:commandref>
 
<cd:commandref name="menubutton"></cd:commandref>
 
<cd:commandref name="setupinteractionmenu"></cd:commandref>
 
<cd:commandref name="setupinteractionmenu"></cd:commandref>
<cd:wikipage page="Interaction"></cd:wikipage></cd:seealso>
+
<cd:wikipage page="Interaction"></cd:wikipage>
 +
<cd:source file="strc-ref.mkvi"></cd:source></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Latest revision as of 08:26, 2 November 2021


\button

Summary

The command \button is used for creating buttons in interactive documents.

Settings

\button[...=...,...]{...}[...]
...=...,...inherits from \setupbutton
{...}text
[...]reference

OptionExplanation
Besides a normal reference, the value can also be one of the special references for interaction like for example PreviousPage, NextPage, FirstPage, LastPage, ExitViewer, GotoPage, or page(pagenumber). See strc-ref.mkvi for the complete list.

Description

Creates a button in interactive documents.

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: