Changes

Jump to navigation Jump to search
662 bytes added ,  16:07, 22 October 2022
PDF named destinations in URLs
\setupinteraction[state=start,focus=standard]
</texcode>
 
== Named destinations (and links to them) ==
Having other {{code|focus}} value than {{code|tight}} or the default ({{code|fit}}), gives PDF named destinations (which allow direct links to those destinations).
 
With the following code, the links to named destinations would read:
 
<texcode>
\setupinteraction[state=start, focus=standard, prefix=_]
\starttext
\completecontent
\dorecurse{25}
{\section{Section}
a\footnote{}}
\stoptext
</texcode>
 
# Link to a section: https://wiki.contextgarden.net/images/1/14/nameddest.pdf#nameddest=_62.
# Link to the last footnote in the document: https://wiki.contextgarden.net/images/1/14/nameddest.pdf#nameddest=_75.
= PDF Bookmarks =
139

edits

Navigation menu