Hi,
At the moment I am trying to achieve an interactive document, where the
sectionheading of the paper-version are linked to corresponding
sectionheading in the screen document.
The code is based on an example as provided by David Arnold.
In the attached example I do not get interactivity with coloured
sectionheadings.
When compiling the original example from David then I get only
interactive jumps from the sectionheadings in the paper-version to the
screen document. But there is no way to jump back to the paper-version
i.e. the interactivity is not active in the screen document.
It seems, that there is something broken in the \coupledocument command?
Thanks for any suggestions
Willi
texexec --mode=paper --suffix="-p" linked-file
texexec --mode=screen --suffix="-s" linked-file
texexec --mode=paper --suffix="-p" linked-file
texexec --mode=screen --suffix="-s" linked-file
% Minimal file for testing interactive links between
% paper- and scree-versions of the same document
% CONTEXT file
% filename: linked-file.tex
% Sample is based on code provided by David Arnold
% Willi Egger
% 31-12-2004
\setupoutput[pdftex]
\setupcolors
[state=start]
\setupinteraction
[state=start,
color=lightblue]
\setuplist
[content]
[alternative=a,
interaction=pagenumber]
\startmode[screen]
\setuppapersize
[S6][S6]
\setupinteraction
[state=start,
page=yes]
\coupledocument
[alternative]
[\jobname-p]
[section,subsection]
[Alternative Version: paper version]
\setuphead
[section,subsection]
[file=alternative]
\stopmode
\startmode[paper]
\setuppapersize
[A4][A4]
\setupinteraction
[state=start]
\coupledocument%
[alternative]
[\jobname-s]
[section,subsection]
[Alternative version: screen document]
\setuphead
[section,subsection]
[file=alternative]
\stopmode
\starttext
\completecontent
\page
\section[sect:one]{Tufte One}
\input tufte
\page
\section[sect:two]{Tufte Two}
\input tufte
\page
\section[sect:three]{Tufte Three}
\input tufte
\page
\section[sect:four]{Tufte Four}
\input tufte
\stoptext