Difference between revisions of "Command/setupinteraction"

From Wiki
Jump to navigation Jump to search
m (Text replace - "Reference/en/" to "Command/")
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>setupinteraction</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 110: Line 113:
 
   </tr>
 
   </tr>
 
</table>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
{|
+
{| class="wikitable"
 
|<code>click</code>
 
|<code>click</code>
 
|Hyperlink highlighting when clicked (<tt>/H</tt> <tt>/N</tt>),
 
|Hyperlink highlighting when clicked (<tt>/H</tt> <tt>/N</tt>),
|-
+
|- style="vertical-align: top"
 
|<code>subtitle</code>
 
|<code>subtitle</code>
 
|Goes into the <tt>/Subject</tt> field of the pdf file's document information dictionary.
 
|Goes into the <tt>/Subject</tt> field of the pdf file's document information dictionary.
|-
+
|- style="vertical-align: top"
 
|<code>color</code>
 
|<code>color</code>
 
|This colour is used if the destination of the reference is on a different page from the reference itself.
 
|This colour is used if the destination of the reference is on a different page from the reference itself.
|-
+
|- style="vertical-align: top"
 
|<code>contrastcolor</code>
 
|<code>contrastcolor</code>
 
|This colour is used if the destination of the reference is on the same page as the reference itself.
 
|This colour is used if the destination of the reference is on the same page as the reference itself.
 +
|- style="vertical-align: top"
 +
|<code>openaction</code>
 +
|
 +
* <code>FitWidth</code> Make the PDF open in 'Fit width' mode
 +
* <code>FitHeight</code> Make the PDF open in 'Fit height' mode
 +
* <code>ToggleViewer</code> Make the PDF open in fullscreen mode.
 +
|- style="vertical-align: top"
 +
|<code>focus</code>
 +
|
 +
* <code>width</code> Make PDF links open in 'Fit width' mode
 +
* <code>height</code> Make PDF links open in 'Fit height' mode
 +
* <code>standard</code> Make PDF links open in current zoom setting
 
|}
 
|}
  
Line 130: Line 144:
 
<texcode>
 
<texcode>
 
\setupinteraction
 
\setupinteraction
[state=start,
+
  [state=start,
color=green,
+
    color=green,
style=bold]
+
    style=bold]
 
</texcode>
 
</texcode>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* [[Interaction]]
[[Interaction]]
+
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with: {{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|setupinteraction]]
+
[[Category:Command/Interaction|setupinteraction]]

Latest revision as of 16:14, 11 November 2019

\setupinteraction

Syntax (autogenerated)

\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


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


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: