Dear list,

imagine I have a PDF document (named "whatever.pdf") such as the one
generated from this source:

  \setupinteraction[state=start,
    focus=standard]
  \starttext
  \dorecurse{5}
    {\chapter[\recurselevel]{Chapter}
      \section[sec-\recurselevel]{Section}}
  \stoptext

This source only samples PDF documents not generated with ConTeXt. This
means that no .tuc file may be available and named destinations may
contain only digits.

Then I need to access some named destinations from a document such as:

  \setupinteraction[state=start,
    focus=standard]
  \starttext
  \dorecurse{5}
    {\goto{Chapter \recurselevel}[whatever.pdf::\recurselevel],
      \goto{section \recurselevel}[whatever.pdf::sec-\recurselevel]\par}
  \stoptext

Sorry, but after reading again lpdf-ano.mkxl I’m not sure whether I can
get named destinations (such as "/D (4)" or "/D (sec-3)") and how I
could get them.

With the previous code, the only destination reads in the PDF source:

  5 0 obj
  <<
    /D [ 0 /Fit ]
    /F (whatever.pdf)
    /S /GoToR
  >>
  endobj

Many thanks for your help,

Pablo
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to