Command/setupinteraction

From ConTeXt wiki

\setupinteraction

Syntax

\setupinteraction[...,...=...,...]
state start stop
menu on off
page yes no
click yes no
split yes no
display new
openaction reference
closeaction reference
openpageaction reference
closepageaction reference
calculate name
strut yes no
width dimension
height dimension
depth dimension
style normal bold slanted boldslanted type cap small...command
color name
contrastcolor name
symbolset name
title text
subtitle text
author text
date text
keyword text
fieldlayer auto name

Description

click Hyperlink highlighting when clicked (/H /N),
subtitle Goes into the /Subject field of the pdf file's document information dictionary.
color This colour is used if the destination of the reference is on a different page from the reference itself.
contrastcolor This colour is used if the destination of the reference is on the same page as the reference itself.
openaction
  • FitWidth Make the PDF open in 'Fit width' mode
  • FitHeight Make the PDF open in 'Fit height' mode
  • ToggleViewer Make the PDF open in fullscreen mode.
focus
  • width Make PDF links open in 'Fit width' mode
  • height Make PDF links open in 'Fit height' mode
  • standard Make PDF links open in current zoom setting

Example

\setupinteraction
   [state=start,
    color=green,
    style=bold]

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: