Command/setupinteraction

From Wiki
Jump to navigation Jump to search


\setupinteraction

Summary

The command \setupinteraction is used for ...

Settings

\setupinteraction[...,...][...=...,...]
[...,...]name
statestart stop
stylestyle command
colorcolor
contrastcolorcolor
titletext
subtitlecolor
authortext
datetext
keywordtext
focusstandard frame width minwidth height minheight fit tight
menuon off
fieldlayerauto name
calculatereference
clickyes no
displaynormal new
pageyes no page name auto
openactionreference
closeactionreference
openpageactionreference
closepageactionreference
symbolsetname
heightdimension
depthdimension
focusoffsetdimension

OptionExplanation
state
Enable/disable interaction, i.e. clickable links
style
style of links; use style=, to disable styling of links
color
This color is used if the destination of the reference is on a different page from the reference itself.
contrastcolor
This color is used if the destination of the reference is on the same page as the reference itself.
title
PDF metadata “title”
subtitle
PDF metadata “subject”, i.e. goes into the /Subject field of the document information dictionary.
author
PDF metadata “author”
date
PDF metadata “creation date”
keyword
PDF metadata "keywords"
focus
link target behaviour
standard Make PDF links open in current zoom setting. (When the PDF viewer is in 'scroll' mode, this setting jumps directly to the target rather than to the page it is on. Omitting focus=standard causes the viewer to jump to the page, regardless of whether in scroll mode or not.)
width Make PDF links open in 'Fit width' mode
height Make PDF links open in 'Fit height' mode
fit Make PDF links open in 'Fit page' mode
click
Hyperlink highlighting when clicked (/H /N)
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.

Settings name

\setupinteraction[...]
[...]name

Description

Examples

Example 1

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

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: