From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42330 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 11:06:27 -0400 Message-ID: References: <115224fb0807100611h217cb8ebo697e9115a5ee92d0@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 1215702502 20141 80.91.229.12 (10 Jul 2008 15:08:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jul 2008 15:08:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 10 17:09:07 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 1KGxlL-0002fD-FQ for gctc-ntg-context-518@m.gmane.org; Thu, 10 Jul 2008 17:08:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D6E3E1FDDB; Thu, 10 Jul 2008 17:07:57 +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 22799-03-4; Thu, 10 Jul 2008 17:07:09 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B38EA1FCFF; Thu, 10 Jul 2008 17:07:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7B1341FCFF for ; Thu, 10 Jul 2008 17:07:08 +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 22777-03-4 for ; Thu, 10 Jul 2008 17:06:35 +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 D9E091FC00 for ; Thu, 10 Jul 2008 17:06:34 +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 m6AF6XvQ006153; Thu, 10 Jul 2008 11:06:33 -0400 (EDT) Original-Received: from approx.mit.edu ([18.38.7.153]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id m6AF6WEu026141 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Thu, 10 Jul 2008 11:06:32 -0400 (EDT) Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.69) (envelope-from ) id 1KGxj1-0008Q7-Ni; Thu, 10 Jul 2008 11:06:27 -0400 In-Reply-To: Your message of "Thu, 10 Jul 2008 15:11:24 +0200." <115224fb0807100611h217cb8ebo697e9115a5ee92d0@mail.gmail.com> (sfid-20080710_093228_329834_CAF38A74) 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:42330 Archived-At: Wolfgang Schuster wrote: > \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. Thanks, now I understand what the second argument means: It's not "what levels are displayed" but is rather "what levels are opened (thereby showing the level below)". So, in order to show two levels (chapter and section): \placebookmarks [chapter,section,subsection] [chapter] I'll fix the wiki page. Too late: I just logged in to edit the page and saw that the new page has the clarificiation. Thanks, Taco! I edited the texshow-web entry for \placebookmarks. For the record, here's a complete example for showing chapter and section bookmarks: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks [chapter,section,subsection] [chapter] \starttext \chapter{I} \section{I.A} \input tufte \subsection{I.A.1} \input knuth \subsubsection{I.A.1.a} Too deep for easy understanding! \section{I.B} \input tufte \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 ___________________________________________________________________________________