On 25 nov. 2011, at 17:33, Wolfgang Schuster wrote:
>
> Am 25.11.2011 um 17:26 schrieb Hans van der Meer:
>
>> I have troubles with interaction in a screen document.
>>
>> (1) I took the example from the wiki:
>> \setuppapersize[A6][A6]
>> \setupinteraction[state=start]
>> \setupreferencing[interaction=all]
>> \starttext
>> Reference is here <\reference[label:1]{Some text}>
>> \page[yes] % Insert page break
>> Link to \goto{some text elsewhere}[label:1].
>> \stoptext
>>
>> Although the link on page-2 brings me to page_1, the contents of {Some text}
>> has completely disappeared. Why is this? What is the essence of having this
>> argument if it is not displayed?
>
> You can show the text when you call the reference with
> “\getreference[text][label:1]”.
This confuses me more. Perhaps I am misunderstanding but now I get from this:
Reference is here <\reference[label:1]{Some text}>\blank
and is: \getreference[tekst][label:1]
The output reads as follows, empty at the place of the \getreferenc:
Reference is here<>
and is:
I also tried \getreference{tekst}[label:1] but that becomes worse:
??tekst[label:1]
>
>> (2) Transfering this code to a more complex document containing other
>> references, to figures, tables etc. makes the action disappear! Clicking
>> then does nothing, although the links to the figures and tables can be used.
>>
>> The link works when the code above is placed BEFORE \completecontent. But
>> becomes incative when put BEHIND it. The index however has links
>> transferring to the various part of the3 document.
>>
>> Please can some enlighten me? Why are links through \placefigure,
>> \placetable alive and those with \reference-\goto are not?
>
> Do you have a example?
>
I quickly tried to put some things together but did not yet find the behaviour.
But the real document is part of a project met products and components. Later I
will setup a similar textproject to see if that could be the cause.
Hans van der Meer
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________