From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86873 Path: news.gmane.org!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: links to external documents Date: Wed, 2 Apr 2014 15:11:37 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1654325144==" X-Trace: ger.gmane.org 1396518055 14604 80.91.229.3 (3 Apr 2014 09:40:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 09:40:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 03 11:40:51 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVdqH-0003ln-J3 for gctc-ntg-context-518@m.gmane.org; Thu, 03 Apr 2014 11:21:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3C7710287 for ; Wed, 2 Apr 2014 21:12:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HRqpI-jZRrxx for ; Wed, 2 Apr 2014 21:12:02 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 198F7101E6 for ; Wed, 2 Apr 2014 21:11:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 88E17101E3 for ; Wed, 2 Apr 2014 21:11:51 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HxT2A+9L2tdg for ; Wed, 2 Apr 2014 21:11:49 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id E55A8101E1 for ; Wed, 2 Apr 2014 21:11:49 +0200 (CEST) Original-Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::230]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s32JBbdH006886 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 2 Apr 2014 21:11:48 +0200 Original-Received: by mail-qg0-f48.google.com with SMTP id j107so670826qga.21 for ; Wed, 02 Apr 2014 12:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=22zEc1yLBkB38Rd09hLm26bexqRudkO++wbCkrllWPo=; b=XEZVJqMgEMGX+LgE635Kakn1nECV7luGxX1/lj77qk5nMuUUuh/T/yAE6uV6iXLTm4 mfPKoRwkDWuumOu1/LU73tnPvuY2bDMmXGQUiwJJ6B7crE5dg91MXe5ozy00vvZr3oa6 7nNRXUVRTMCmhyz+BYJP7Eid3wR6lhgF0uPDfxszsPLdtW4nzeohoGyiaGVxjdKpExd1 kx5r0VSFwAT2348Oumb1GwHt1slukwbyv7UG3WBi9PYGXI/zHtlNaUjccNq2W0FZ0xpo a9xeE9LMmyj8Kr+C+CVCp8n1iyiu97avyMauLJM6Zu+6tCoVcdkvfvteWZPIcIkvQsqz hYFA== X-Received: by 10.140.102.135 with SMTP id w7mr2509110qge.29.1396465897048; Wed, 02 Apr 2014 12:11:37 -0700 (PDT) Original-Received: by 10.229.53.201 with HTTP; Wed, 2 Apr 2014 12:11:37 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c04::230; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RLJ7bCKe - 830b2ca184b6 - 20140402 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86873 Archived-At: --===============1654325144== Content-Type: multipart/alternative; boundary=001a11c17214bc0f9d04f6140dff --001a11c17214bc0f9d04f6140dff Content-Type: text/plain; charset=ISO-8859-1 I am exploring the feasibility of presenting two interacting PDF files side by side. Thus far my experiments with \usereferences have managed only to produce a lua error: .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1394: attempt to call field 'reference' (a nil value) stack traceback: .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1394: in function 'identify_outer' .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1620: in function 'identify' .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1645: in function 'valid' .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1667: in function 'doifelsereference' [\directlua]:1: in main chunk The setup-- %testA.tex \starttext text text.\reference[firstpage]{} text text.\footnote[fnote]{A note.} \stoptext %LinkTest.tex \setupinteraction[state=start] \useexternaldocument[testA.tex] \usereferences[testA.tex] \starttext \at{page}[testA.tex::firstpage] \in{note}[testA.tex::fnote] \stoptext --001a11c17214bc0f9d04f6140dff Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I am exploring the feasibility of presenting two inte= racting PDF files side by side. Thus far my experiments with \usereferences= have managed only to produce  a lua error:

<= p style=3D"margin:0px;font-size:12px;font-family:Georgia"> .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1394: attempt t= o call field 'reference' (a nil value)

stack traceback:

.../ConTeXt/tex/texmf-co= ntext/tex/context/base/strc-ref.lua:1394: in function 'identify_outer&#= 39;

.../ConTeXt/tex/texmf-context/tex= /context/base/strc-ref.lua:1620: in function 'identify'

.../ConTeXt/tex/texmf-context/tex/contex= t/base/strc-ref.lua:1645: in function 'valid'

.../ConTeXt/tex/texmf-co= ntext/tex/context/base/strc-ref.lua:1667: in function 'doifelsereferenc= e'

[\directlua]:1: in main chunk


The setup—

%testA.te= x
\starttext

text text.\reference[firstpage]{}
=

text text.\footnote[fnote]{A note.}

<= /div>
\stoptext

%LinkTest.tex
\setupinteraction[state=3Dstart]

\useexternaldocum= ent[testA.tex]
\usereferences[testA.tex]

\starttext

\at{page}[testA.tex::firstpage]

\in{note}[testA.tex::fnote]

\stoptext

--001a11c17214bc0f9d04f6140dff-- --===============1654325144== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1654325144==--