Re: [NTG-context] Fwd: What is the command to define the behavior of \goto?

2008-11-23 Thread Aditya Mahajan
On Sun, 23 Nov 2008, Yue Wang wrote:

 This is called referencing in ConTeXt. You can search the excursion and
 the main manual for some more details.

 still go to the page, not go to the specific place. see the attachment.

 what I want is the feature that can go to certain area in the pdf document 
 page.

Ah. The link is actually going to a specific place in a page, but the 
pdfviewer shows the entire page due to the default value of focus. It can 
be changed using

\setupinteraction[focus=standard]

 for example, in CTAN, there is a document typesetted in LaTeX (using
 hyperref package) called  A Survey of Free Math Fonts for TEX and
 LATEX, you can find it in CTAN/documentation/Free_Math_Font_Survey/.
 Go to page 1 and see Contents.  If I click  Core Postscript Fonts, it
 will not only go to page 8, but also place the title at the top of the
 reader window. Obviously this is different compared to the hyperlink
 feature in ConTeXt.

ConTeXt behaviour is not perfect in this regard. Sometimes the link jumps 
higher or lower than the actual section title. But I could never determine 
if it was the fault of the pdf viewer or ConTeXt.

Aditya
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: What is the command to define the behavior of \goto?

2008-11-23 Thread Hans Hagen
Aditya Mahajan wrote:

 ConTeXt behaviour is not perfect in this regard. Sometimes the link jumps 
 higher or lower than the actual section title. But I could never determine 
 if it was the fault of the pdf viewer or ConTeXt.

annotation areas in pdf are not part of the stream but take place on in 
a separate coordination space in pdf; in principle there is no specific 
target in the stream, just 'oon the page' and there are some 'view' 
options; much of this (and the trickery that can be used) is viewer 
dependent; for instance the pdf hack for following columns (threads) got 
different treatment in successive versions of acrobat so i gave up on it 
(apart from the fact that i hate inconsistent scaling when following 
hyperlinks)

i might take a look at what the latest possibilities are bit not before 
i start upgrading the backend (mkiv only)


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___