https://wiki.contextgarden.net/index.php?title=Command/setupinteraction&feed=atom&action=history
Command/setupinteraction - Revision history
2024-03-29T11:19:36Z
Revision history for this page on the wiki
MediaWiki 1.34.1
https://wiki.contextgarden.net/index.php?title=Command/setupinteraction&diff=34392&oldid=prev
Hraban: fix formatting, add another link
2024-03-06T17:08:53Z
<p>fix formatting, add another link</p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 17:08, 6 March 2024</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l94" >Line 94:</td>
<td colspan="2" class="diff-lineno">Line 94:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </cd:parameter></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </cd:parameter></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <cd:parameter name="openaction"></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <cd:parameter name="openaction"></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> <cd:paramdoc>- <code>FitWidth</code> Make the PDF open in 'Fit width' mode</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> <cd:paramdoc>- <code>FitWidth</code> Make the PDF open in 'Fit width' mode<ins class="diffchange diffchange-inline">.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>- <code>FitHeight</code> Make the PDF open in 'Fit height' mode</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>- <code>FitHeight</code> Make the PDF open in 'Fit height' mode<ins class="diffchange diffchange-inline">.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>- <code>ToggleViewer</code> Make the PDF open in fullscreen mode.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>- <code>ToggleViewer</code> Make the PDF open in fullscreen mode.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:paramdoc></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:paramdoc></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l156" >Line 156:</td>
<td colspan="2" class="diff-lineno">Line 156:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:wikipage page="Interaction"></cd:wikipage></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:wikipage page="Interaction"></cd:wikipage></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:commandref name="setupinteractionscreen"></cd:commandref></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><cd:commandref name="setupinteractionscreen"></cd:commandref></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><cd:commandref name="setupmetadata"></cd:commandref></cd:seealso></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><cd:commandref name="setupmetadata<ins class="diffchange diffchange-inline">"></cd:commandref></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"><cd:commandref name="setuptaggedmetadata</ins>"></cd:commandref></cd:seealso></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:commandgroup></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></cd:commandgroup></div></td></tr>
<!-- diff cache key wikidb16_33:diff::1.12:old-34391:rev-34392 -->
</table>
Hraban
https://wiki.contextgarden.net/index.php?title=Command/setupinteraction&diff=34391&oldid=prev
Hraban: renewed from non-template page
2024-03-06T17:07:39Z
<p>renewed from non-template page</p>
<p><b>New page</b></p><div><cd:commandgroup name="setupinteraction" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807"><br />
<cd:shortdesc><!-- a short command summary goes here --><br />
The command <tt>\setupinteraction</tt> is used for ...<br />
</cd:shortdesc><br />
<cd:variants><br />
<cd:command category="pdf" file="scrn-ini.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-interaction.xml" level="style" name="setupinteraction" variantnumber="1"><br />
<cd:arguments><br />
<cd:keywords list="yes" optional="yes" ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:name"></cd:constant><br />
</cd:keywords><br />
<cd:assignments list="yes" ordinal="2"><br />
<cd:assignmentsdoc></cd:assignmentsdoc><br />
<cd:parameter name="state"><br />
<cd:paramdoc>Enable/disable interaction, i.e. clickable links</cd:paramdoc><br />
<cd:constant type="start"></cd:constant><br />
<cd:constant default="yes" type="stop"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="style"><br />
<cd:paramdoc>style of links; use `style=,` to disable styling of links</cd:paramdoc><br />
<cd:constant type="cd:style"></cd:constant><br />
<cd:constant type="cd:command"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="color"><br />
<cd:paramdoc>This color is used if the destination of the reference is on a different page from the reference itself.</cd:paramdoc><br />
<cd:constant type="cd:color"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="contrastcolor"><br />
<cd:paramdoc>This color is used if the destination of the reference is on the same page as the reference itself.</cd:paramdoc><br />
<cd:constant type="cd:color"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="title"><br />
<cd:paramdoc>PDF metadata “title”</cd:paramdoc><br />
<cd:constant type="cd:text"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="subtitle"><br />
<cd:paramdoc>PDF metadata “subject”, i.e. goes into the <tt>/Subject</tt> field of the document information dictionary.</cd:paramdoc><br />
<cd:constant type="cd:color"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="author"><br />
<cd:paramdoc>PDF metadata “author”</cd:paramdoc><br />
<cd:constant type="cd:text"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="date"><br />
<cd:paramdoc>PDF metadata “creation date”</cd:paramdoc><br />
<cd:constant type="cd:text"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="keyword"><br />
<cd:paramdoc>PDF metadata "keywords"</cd:paramdoc><br />
<cd:constant type="cd:text"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="focus"><br />
<cd:paramdoc>link target behaviour</cd:paramdoc><br />
<cd:constant type="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 <code>focus=standard</code> causes the viewer to jump to the page, regardless of whether in scroll mode or not.)</cd:constant><br />
<cd:constant type="frame"></cd:constant><br />
<cd:constant type="width">Make PDF links open in 'Fit width' mode</cd:constant><br />
<cd:constant type="minwidth"></cd:constant><br />
<cd:constant type="height">Make PDF links open in 'Fit height' mode</cd:constant><br />
<cd:constant type="minheight"></cd:constant><br />
<cd:constant default="yes" type="fit">Make PDF links open in 'Fit page' mode</cd:constant><br />
<cd:constant type="tight"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="menu"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="on"></cd:constant><br />
<cd:constant default="yes" type="off"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="fieldlayer"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="auto"></cd:constant><br />
<cd:constant type="cd:name"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="calculate"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:reference"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="click"><br />
<cd:paramdoc>Hyperlink highlighting when clicked (<tt>/H</tt> <tt>/N</tt>)</cd:paramdoc><br />
<cd:constant type="yes"></cd:constant><br />
<cd:constant type="no"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="display"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="normal"></cd:constant><br />
<cd:constant type="new"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="page"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="yes"></cd:constant><br />
<cd:constant default="yes" type="no"></cd:constant><br />
<cd:constant type="page"></cd:constant><br />
<cd:constant type="name"></cd:constant><br />
<cd:constant type="auto"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="openaction"><br />
<cd:paramdoc>- <code>FitWidth</code> Make the PDF open in 'Fit width' mode<br />
- <code>FitHeight</code> Make the PDF open in 'Fit height' mode<br />
- <code>ToggleViewer</code> Make the PDF open in fullscreen mode.<br />
</cd:paramdoc><br />
<cd:constant type="cd:reference"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="closeaction"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:reference"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="openpageaction"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:reference"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="closepageaction"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:reference"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="symbolset"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:name"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="height"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:dimension"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="depth"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:dimension"></cd:constant><br />
</cd:parameter><br />
<cd:parameter name="focusoffset"><br />
<cd:paramdoc></cd:paramdoc><br />
<cd:constant type="cd:dimension"></cd:constant><br />
</cd:parameter><br />
</cd:assignments><br />
</cd:arguments><br />
</cd:command><br />
<cd:command category="pdf" file="scrn-ini.mkvi" interfacedate="2020-07-14T09:24" interfacefile="i-interaction.xml" level="style" name="setupinteraction" variant="name" variantnumber="2"><br />
<cd:arguments><br />
<cd:keywords optional="yes" ordinal="1"><br />
<cd:keywordsdoc></cd:keywordsdoc><br />
<cd:constant type="cd:name"></cd:constant><br />
</cd:keywords><br />
</cd:arguments><br />
</cd:command><br />
</cd:variants><br />
<cd:description><!-- the long description of the command goes here --><br />
</cd:description><br />
<cd:examples><cd:example title=""><texcode><br />
\setupinteraction<br />
[state=start,<br />
color=green,<br />
style=bold]<br />
</texcode><br />
</cd:example></cd:examples><br />
<cd:notes></cd:notes><br />
<cd:seealso><br />
<cd:commandref name="defineinteraction" originator="system"></cd:commandref><br />
<cd:source file="scrn-ini.mkvi" originator="system"></cd:source><br />
<cd:wikipage originator="system" page="Category:Pdf"></cd:wikipage><br />
<cd:wikipage page="Interaction"></cd:wikipage><br />
<cd:commandref name="setupinteractionscreen"></cd:commandref><br />
<cd:commandref name="setupmetadata"></cd:commandref></cd:seealso><br />
</cd:commandgroup></div>
Hraban