ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "John R. Culleton" <john@wexfordpress.com>
Cc: h h extern <pragma@wxs.nl>
Subject: Re: pdf bookmarks
Date: Thu, 5 May 2005 10:02:25 +0000	[thread overview]
Message-ID: <200505051002.26130.john@wexfordpress.com> (raw)
In-Reply-To: <4234B118.9060705@wxs.nl>

On Sunday 13 March 2005 09:31 pm, h h extern wrote:
> VnPenguin wrote:
> > On Tue, 8 Mar 2005 20:56:06 +0000, David Waller <davidwaller1@gmail.com> 
wrote:
> >>Hello,
> >>
> >>I am trying to produce bookmarks in the PDF file produced with context.
> >>
> >> I can produce bookmarks but I am unable to get any hierarchy of
> >> bookmarks such that chapters can just be displayed initially and then
> >> the
> >>sections open up.
> >
> > With
> >
> > \placebookmarks[chapter,section,subsection]
> >
> > I got a perfect bookmark :)
>
> \placebookmarks [chapter,section,subsection]
>                  [chapter]
>
> will do the same but open only chapter ones by default
>
> Hans

As it happens, on my computer, using Linux, both xpdf and
Acrobat Reader 7.0 display all bookmarks by default. Here is my
line:

 \placebookmarks [chapter,section] [chapter]

If I change the line to 
 \placebookmarks [chapter,section] [chap]

It works as described by Hans above.

But I can live with that. My real problem is with bookmarking
the table of contents. If I use this configuration:
---------------------------------------------------
\bookmark[chapter]{Contents}
\completecontent
----------------------------------------
I get a double bookmark. All other combinations yield no bookmark
at all. I tried changing the name from Contents to Contenzz and
I got two occurrences of Contentzz in the bookmarks.

Messing with the first parameter [chapter] yields either no
bookmark or a double bookmark.
 
Also, on the TOC proper, the word Contents (or Contentzz) is repeated twice,
in body font, ahead of the bold faced and larger title generated
by \completecontent. 
 
The documentation on this feature is a bit sparse. I looked at
the source but the comments there did not address this
situation. 

-- 

John Culleton
The answers to all your publishing questions are found 
in the excellent books listed in the word-famous shortlist!
http://wexfordpress.com/tex/shortlist.pdf

  reply	other threads:[~2005-05-05 10:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08 20:56 David Waller
2005-03-08 21:07 ` VnPenguin
2005-03-13 21:31   ` h h extern
2005-05-05 10:02     ` John R. Culleton [this message]
2005-06-08 18:55 Brigitte und Stefan Bunzel
2013-01-26 18:01 PDF Bookmarks Troy Henderson
2013-01-26 18:37 ` Rogers, Michael K
2013-01-26 20:22   ` Troy Henderson
2013-01-26 21:21     ` Troy Henderson
2013-01-26 23:07       ` Rogers, Michael K

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=200505051002.26130.john@wexfordpress.com \
    --to=john@wexfordpress.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).