[NTG-context] \placebookmarks: opening with only topmost levels visible

Wolfgang Schuster schuster.wolfgang at googlemail.com
Thu Jul 10 12:23:29 CEST 2008


On Wed, Jul 9, 2008 at 11:06 PM, Sanjoy Mahajan <sanjoy at mit.edu> wrote:
> >From this minimal example, the resulting PDF file opens with chapter and
> section bookmarks.  But it should open with just chapter bookmarks due
> to the second argument in this line:
>
> \placebookmarks
>   [chapter,section]
>   [chapter]

\placebookmarks
  [chapter,section]

> The problem is mentioned on the wiki
> <http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers> and I wasn't
> able to solve it by looking over the bookmark code in core-int.tex.
>
> I tried the example, with the same results, using Mk II 2008.05.21 (on
> my Debian i386 laptop), Mk II 2008.07.07 (live.contextgarden.net), and
> live Luatex.
>
> Any ideas?  Should I post an issue on the tracker, just for reference?
>
> \setupinteraction[state=start]
> \setupinteractionscreen[option=bookmark]
> \placebookmarks
>   [chapter,section]
>   [chapter]
>
> \starttext
>
> \chapter{One}
>
> \section{One A}
> \input tufte
>
> \section{One B}
> \input knuth
>
> \stoptext

Wolfgang


More information about the ntg-context mailing list