From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42323 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: \placebookmarks: opening with only topmost levels visible Date: Thu, 10 Jul 2008 15:11:24 +0200 Message-ID: <115224fb0807100611h217cb8ebo697e9115a5ee92d0@mail.gmail.com> References: <115224fb0807100323n4e4da01dr43ae2e46ffb3d9d1@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215697620 1374 80.91.229.12 (10 Jul 2008 13:47:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 13:47:00 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 10 15:47:46 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KGwUp-00022n-7Q for gctc-ntg-context-518@m.gmane.org; Thu, 10 Jul 2008 15:47:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6E46C1FB6B; Thu, 10 Jul 2008 15:46:47 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06065-03-2; Thu, 10 Jul 2008 15:45:55 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3FE921FDF5; Thu, 10 Jul 2008 15:11:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 583611FDF5 for ; Thu, 10 Jul 2008 15:11:33 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00879-03-11 for ; Thu, 10 Jul 2008 15:11:26 +0200 (CEST) Original-Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.242]) by ronja.ntg.nl (Postfix) with ESMTP id 852BD1FDD7 for ; Thu, 10 Jul 2008 15:11:25 +0200 (CEST) Original-Received: by ag-out-0708.google.com with SMTP id 35so20411738aga.1 for ; Thu, 10 Jul 2008 06:11:24 -0700 (PDT) Original-Received: by 10.151.141.8 with SMTP id t8mr14452692ybn.192.1215695484121; Thu, 10 Jul 2008 06:11:24 -0700 (PDT) Original-Received: by 10.151.113.9 with HTTP; Thu, 10 Jul 2008 06:11:24 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:42323 Archived-At: On Thu, Jul 10, 2008 at 2:44 PM, Sanjoy Mahajan wrote: > 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________