ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* links to external documents
@ 2014-04-02 19:11 Alan Bowen
  2014-04-03  8:47 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Bowen @ 2014-04-02 19:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1018 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 2189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: links to external documents
  2014-04-02 19:11 links to external documents Alan Bowen
@ 2014-04-03  8:47 ` Hans Hagen
  2014-04-03 10:25   ` Alan Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2014-04-03  8:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 4/2/2014 9:11 PM, Alan Bowen wrote:
> 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:

fixed in next beta (there can be more issues for a while as i'm cleanign 
up that code)

btw, no .tex in:

\at{page}[testA::firstpage]




-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: links to external documents
  2014-04-03  8:47 ` Hans Hagen
@ 2014-04-03 10:25   ` Alan Bowen
  2014-04-03 14:49     ` Alan Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Bowen @ 2014-04-03 10:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1449 bytes --]

Thanks, Hans--for the new beta *and* the tip about the filename.

Alan


On Thu, Apr 3, 2014 at 4:47 AM, Hans Hagen <pragma@wxs.nl> wrote:

> On 4/2/2014 9:11 PM, Alan Bowen wrote:
>
>> 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:
>>
>
> fixed in next beta (there can be more issues for a while as i'm cleanign
> up that code)
>
> btw, no .tex in:
>
> \at{page}[testA::firstpage]
>
>
>
>
> --
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
> ____________________________________________________________
> _______________________
> 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
> ____________________________________________________________
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 2847 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: links to external documents
  2014-04-03 10:25   ` Alan Bowen
@ 2014-04-03 14:49     ` Alan Bowen
  2014-04-05 10:54       ` Alan Bowen
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Bowen @ 2014-04-03 14:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2094 bytes --]

Hi, Hans--

The new beta now processes without interruption but does not actually
collect and display the reference.

All I get right now is:

page   note

rather than

page 1 note 1

The setup (revised)--


%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::firstpage]


\in{note}[testA::fnote]


\stoptext


Alan




On Thu, Apr 3, 2014 at 6:25 AM, Alan Bowen <bowenalan03@gmail.com> wrote:

> Thanks, Hans--for the new beta *and* the tip about the filename.
>
> Alan
>
>
> On Thu, Apr 3, 2014 at 4:47 AM, Hans Hagen <pragma@wxs.nl> wrote:
>
>> On 4/2/2014 9:11 PM, Alan Bowen wrote:
>>
>>> 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:
>>>
>>
>> fixed in next beta (there can be more issues for a while as i'm cleanign
>> up that code)
>>
>> btw, no .tex in:
>>
>> \at{page}[testA::firstpage]
>>
>>
>>
>>
>> --
>>
>> -----------------------------------------------------------------
>>                                           Hans Hagen | PRAGMA ADE
>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>>                                              | www.pragma-pod.nl
>> -----------------------------------------------------------------
>> ____________________________________________________________
>> _______________________
>> 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
>> ____________________________________________________________
>> _______________________
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 6182 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: links to external documents
  2014-04-03 14:49     ` Alan Bowen
@ 2014-04-05 10:54       ` Alan Bowen
  0 siblings, 0 replies; 5+ messages in thread
From: Alan Bowen @ 2014-04-05 10:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2473 bytes --]

Hi, Hans--

The LinkTest file does not work with either ConTeXt  ver: 2014.04.04 or my
backup installation, ConTeXt  ver: 2014.02.14. Do I things properly encoded?

Alan


On Thu, Apr 3, 2014 at 10:49 AM, Alan Bowen <bowenalan03@gmail.com> wrote:

> Hi, Hans--
>
> The new beta now processes without interruption but does not actually
> collect and display the reference.
>
> All I get right now is:
>
> page   note
>
> rather than
>
> page 1 note 1
>
> The setup (revised)--
>
>
> %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::firstpage]
>
>
> \in{note}[testA::fnote]
>
>
> \stoptext
>
>
> Alan
>
>
>
>
> On Thu, Apr 3, 2014 at 6:25 AM, Alan Bowen <bowenalan03@gmail.com> wrote:
>
>> Thanks, Hans--for the new beta *and* the tip about the filename.
>>
>> Alan
>>
>>
>> On Thu, Apr 3, 2014 at 4:47 AM, Hans Hagen <pragma@wxs.nl> wrote:
>>
>>> On 4/2/2014 9:11 PM, Alan Bowen wrote:
>>>
>>>> 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:
>>>>
>>>
>>> fixed in next beta (there can be more issues for a while as i'm cleanign
>>> up that code)
>>>
>>> btw, no .tex in:
>>>
>>> \at{page}[testA::firstpage]
>>>
>>>
>>>
>>>
>>> --
>>>
>>> -----------------------------------------------------------------
>>>                                           Hans Hagen | PRAGMA ADE
>>>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>>>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>>>                                              | www.pragma-pod.nl
>>> -----------------------------------------------------------------
>>> ____________________________________________________________
>>> _______________________
>>> 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
>>> ____________________________________________________________
>>> _______________________
>>>
>>
>>
>

[-- Attachment #1.2: Type: text/html, Size: 6895 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-04-05 10:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 19:11 links to external documents Alan Bowen
2014-04-03  8:47 ` Hans Hagen
2014-04-03 10:25   ` Alan Bowen
2014-04-03 14:49     ` Alan Bowen
2014-04-05 10:54       ` Alan Bowen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).