From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42283 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: \placebookmarks: opening with only topmost levels visible Date: Wed, 09 Jul 2008 17:06:14 -0400 Message-ID: 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 1215637730 27921 80.91.229.12 (9 Jul 2008 21:08:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Jul 2008 21:08:50 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 09 23:09:35 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 1KGguq-00045S-6H for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jul 2008 23:09:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 18F6C1FDEE; Wed, 9 Jul 2008 23:08:37 +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 22580-02-11; Wed, 9 Jul 2008 23:07:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F088D1FBC1; Wed, 9 Jul 2008 23:07:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E20B51FBE8 for ; Wed, 9 Jul 2008 23:07:44 +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 21892-04-8 for ; Wed, 9 Jul 2008 23:07:03 +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 676801FDCE for ; Wed, 9 Jul 2008 23:06:28 +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 m69L6MpX001082; Wed, 9 Jul 2008 17:06:22 -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 m69L6J4D009432 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Wed, 9 Jul 2008 17:06:21 -0400 (EDT) Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.69) (envelope-from ) id 1KGgre-0005Qa-FF; Wed, 09 Jul 2008 17:06:14 -0400 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:42283 Archived-At: >>From this minimal example, the resulting PDF file opens with chapter and section bookmarks. But it should open with just chapter bookmarks due to the second argument in this line: \placebookmarks [chapter,section] [chapter] The problem is mentioned on the wiki and I wasn't able to solve it by looking over the bookmark code in core-int.tex. I tried the example, with the same results, using Mk II 2008.05.21 (on my Debian i386 laptop), Mk II 2008.07.07 (live.contextgarden.net), and live Luatex. Any ideas? Should I post an issue on the tracker, just for reference? \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks [chapter,section] [chapter] \starttext \chapter{One} \section{One A} \input tufte \section{One B} \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 ___________________________________________________________________________________