On Thu, Jul 10, 2008 at 2:44 PM, Sanjoy Mahajan <[EMAIL PROTECTED]> wrote:
> Wolfgang Schuster <[EMAIL PROTECTED]> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to