From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17688 Path: main.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: \coupledocument Date: Fri, 31 Dec 2004 19:54:52 +0100 Message-ID: <41D5A07C.4040603@boede.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------030402060705010608020200" X-Trace: sea.gmane.org 1104519302 20763 80.91.229.6 (31 Dec 2004 18:55:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Dec 2004 18:55:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 31 19:54:56 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CkRvM-0001Oz-00 for ; Fri, 31 Dec 2004 19:54:56 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 90E5A12799; Fri, 31 Dec 2004 19:54:54 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09187-07; Fri, 31 Dec 2004 19:54:50 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA50E1276C; Fri, 31 Dec 2004 19:54:49 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CC3641276C for ; Fri, 31 Dec 2004 19:54:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09231-06 for ; Fri, 31 Dec 2004 19:54:47 +0100 (CET) Original-Received: from smtp-vbr8.xs4all.nl (unknown [194.109.24.28]) by ronja.ntg.nl (Postfix) with ESMTP id 15D8F126F8 for ; Fri, 31 Dec 2004 19:54:47 +0100 (CET) Original-Received: from [192.168.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) by smtp-vbr8.xs4all.nl (8.12.11/8.12.11) with ESMTP id iBVIsk8T016439 for ; Fri, 31 Dec 2004 19:54:46 +0100 (CET) (envelope-from w.egger@boede.nl) User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en Original-To: NTG-Context X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17688 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17688 This is a multi-part message in MIME format. --------------030402060705010608020200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------030402060705010608020200 Content-Type: text/plain; name="make" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="make" 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 --------------030402060705010608020200 Content-Type: text/plain; name="linked-file.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="linked-file.tex" % 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 --------------030402060705010608020200 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --------------030402060705010608020200--