From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: ntg-context@ntg.nl
Subject: \placebookmarks: opening with only topmost levels visible
Date: Wed, 09 Jul 2008 17:06:14 -0400 [thread overview]
Message-ID: <E1KGgre-0005Qa-FF@approx.mit.edu> (raw)
>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
<http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers> 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
___________________________________________________________________________________
next reply other threads:[~2008-07-09 21:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-09 21:06 Sanjoy Mahajan [this message]
2008-07-10 10:23 ` Wolfgang Schuster
2008-07-10 12:44 ` Sanjoy Mahajan
2008-07-10 13:11 ` Wolfgang Schuster
2008-07-10 15:06 ` Sanjoy Mahajan
2008-07-10 14:09 ` Taco Hoekwater
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KGgre-0005Qa-FF@approx.mit.edu \
--to=sanjoy@mit.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).