Hello all, This seems to be a very obvious FAQ but I can't find an answer anywhere. How can one create a named destination in an output PDF file such that an HTML link to <filename>.pdf#nameddest=<name> will work? I'm using Mk II in case that is relevant. I kinda assumed that a section title with an ID would automatically create a named destination with the same ID, but that doesn't appear to be the case. So given a file generated from \starttext \chapter[myid]{My chapter} Blah blah. \section[myotherid]{My section} Blah blah. \stoptext I'd like to be able to link from an HTML file to the named destinations myid and myotherid using the #nameddest URL construct above. Hope it makes sense and thanks for any help. Duncan
On 25-4-2011 5:31, Duncan Hothersall wrote:
\starttext \chapter[myid]{My chapter} Blah blah. \section[myotherid]{My section} Blah blah. \stoptext
add \setupinteraction[state=start] and then in the pdf file you will find destinations like /Names [... (myid) 5 0 R (myotherid) 7 0 R] Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Thanks Hans but this doesn't work for me - when I open in Acrobat Pro no named destinations appear. Duncan On 26/04/2011 09:40, Hans Hagen wrote:
On 25-4-2011 5:31, Duncan Hothersall wrote:
\starttext \chapter[myid]{My chapter} Blah blah. \section[myotherid]{My section} Blah blah. \stoptext
add \setupinteraction[state=start] and then in the pdf file you will find destinations like
/Names [... (myid) 5 0 R (myotherid) 7 0 R]
Hans
On 26-4-2011 11:00, Duncan Hothersall wrote:
Thanks Hans but this doesn't work for me - when I open in Acrobat Pro no named destinations appear.
not sure what you expect ... you have no hyperlinks (annotations) .. where do you expect to see destinations in pro? ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 26-4-2011 11:00, Duncan Hothersall wrote:
Thanks Hans but this doesn't work for me - when I open in Acrobat Pro no named destinations appear.
not sure what you expect ... you have no hyperlinks (annotations) .. where do you expect to see destinations in pro? You can view a list of all named destinations in a file in Pro (View; Navigation tabs; Destinations) and these are externally accessible via
On 26/04/2011 10:27, Hans Hagen wrote: links of the form filename.pdf#nameddest=<destination name>. That's what I'm trying to achieve. It looks like it might be achievable with a third-party module called Navigator documented here: http://www.tex.ac.uk/ctan/macros/generic/navigator/navigator-doc.pdf but I haven't tried that out yet. Thanks, Duncan
On 26-4-2011 11:38, Duncan Hothersall wrote:
On 26-4-2011 11:00, Duncan Hothersall wrote:
Thanks Hans but this doesn't work for me - when I open in Acrobat Pro no named destinations appear.
not sure what you expect ... you have no hyperlinks (annotations) .. where do you expect to see destinations in pro? You can view a list of all named destinations in a file in Pro (View; Navigation tabs; Destinations) and these are externally accessible via
On 26/04/2011 10:27, Hans Hagen wrote: links of the form filename.pdf#nameddest=<destination name>. That's what I'm trying to achieve.
It looks like it might be achievable with a third-party module called Navigator documented here: http://www.tex.ac.uk/ctan/macros/generic/navigator/navigator-doc.pdf but I haven't tried that out yet.
when you add them in acrobat pro destination objects get an extra entry (that probably triggers showing in the list) anyhow, there is currently no way to force such keys into the object Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (2)
-
Duncan Hothersall
-
Hans Hagen