From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42322 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: \placebookmarks: opening with only topmost levels visible Date: Thu, 10 Jul 2008 08:44:07 -0400 Message-ID: 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 1215695666 26895 80.91.229.12 (10 Jul 2008 13:14:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 13:14:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 10 15:15:13 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 1KGvzL-0006Bw-JO for gctc-ntg-context-518@m.gmane.org; Thu, 10 Jul 2008 15:15:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C8A321FB77; Thu, 10 Jul 2008 15:14:16 +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 02046-01-17; Thu, 10 Jul 2008 15:13:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1CBF1FDD8; Thu, 10 Jul 2008 14:44:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 007EB1FDD8 for ; Thu, 10 Jul 2008 14:44:55 +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 30923-02-3 for ; Thu, 10 Jul 2008 14:44:18 +0200 (CEST) Original-Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by ronja.ntg.nl (Postfix) with ESMTP id EEC621FD09 for ; Thu, 10 Jul 2008 14:44:16 +0200 (CEST) Original-Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id m6ACiFBU026652; Thu, 10 Jul 2008 08:44:15 -0400 (EDT) Original-Received: from approx.mit.edu (pool-71-174-177-238.bstnma.east.verizon.net [71.174.177.238]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id m6ACiEI3009450 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Thu, 10 Jul 2008 08:44:14 -0400 (EDT) Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.69) (envelope-from ) id 1KGvVH-0006AU-Tq; Thu, 10 Jul 2008 08:44:07 -0400 In-Reply-To: Your message of "Thu, 10 Jul 2008 12:23:29 +0200." <115224fb0807100323n4e4da01dr43ae2e46ffb3d9d1@mail.gmail.com> (sfid-20080710_082928_406283_777490E8) X-Mailer: MH-E 8.0.3; nmh 1.2; GNU Emacs 22.2.1 X-Scanned-By: MIMEDefang 2.42 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:42322 Archived-At: 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] should work but it shows all three levels. 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________