On Thu, Jul 10, 2008 at 2:44 PM, Sanjoy Mahajan
Wolfgang Schuster
wrote: \placebookmarks [chapter,section] [chapter]
\placebookmarks [chapter,section]
That's true meaning that my minimal example was too minimal! Giving no argument works here is that the default, i.e. with no second argument to \placebookmarks, is to show the topmost level.
But if you have chapters, sections, and subsections but want to show only chapter and section bookmarks, then
\placebookmarks[chapter,section,subsection][chapter,section]
\placebookmarks [chapter,section,subsection] [chapter,section]
should work but it shows all three levels.
What do you expect, you open the chater *and* the section branches.
Here is a new minimal example showing the problem. With the [chapter,section] second argument, all three levels of bookmarks are shown; without the second argument, only the first level is shown. How do you show two levels?
\setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks [chapter,section,subsection] [chapter,section]
\starttext
\chapter{One}
\section{One A} \input tufte
\subsection{One A A} \input knuth
\stoptext
Wolfgang