ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Michał Goliński" <golinski@amu.edu.pl>
To: ntg-context@ntg.nl
Subject: Problem with PDF bookmarks (outline)
Date: Tue, 04 Nov 2014 13:29:19 +0100	[thread overview]
Message-ID: <ac6facf54e5f7ab4fe880eba4e451bbe@amu.edu.pl> (raw)

A few weeks back I've asked here about the structure of titles, as the 
PDF bookmarks didn't work for me. I was given a solution, which should 
work, but unfortunately it doesn't. I don't know if this is a bug or is 
this expected behaviour.

For the file:

\setupinteraction[state=start]
\placebookmarks[part,chapter,section]
\setupinteractionscreen[option=bookmark]
\starttext
\placecontent

\startfrontmatter
  \startchapter[title=Prologue]
  \input knuth
  \stopchapter
\stopfrontmatter

\startpart[title={Part A}]
   \startchapter[title=One]
   \input knuth
   \stopchapter
\stoppart

\startbackmatter
  \startchapter[title=Epilogue]
  \input knuth
  \stopchapter
\stopbackmatter
\stoptext


ConTeXt (Mk IV) generates a PDF file which has only one item in the 
bookmarks -- the Prologue. The other chapters show up only if the file 
is changed with

\placebookmarks[chapter,section]

but then of course there is no sign of Part A in the bookmarks.

I would expect the bookmarks to look like this:

Prologue
Part A
   One
Epilogue

Regards
Michał
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2014-11-04 12:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-04 12:29 Michał Goliński [this message]
     [not found] <mailman.248.1415111268.2277.ntg-context@ntg.nl>
2014-11-04 19:00 ` Robert Blackstone
2014-11-05  9:34   ` Michał Goliński
2014-11-05 11:36     ` Hans Hagen
2014-11-05 13:01       ` Alan BRASLAU
2014-11-05 14:36         ` Michał Goliński
2014-11-05 14:53           ` Alan BRASLAU
2014-11-05 14:56           ` Hans Hagen
2014-11-05 13:43     ` Hans Hagen
2014-11-05 11:33   ` Gareth Jones

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=ac6facf54e5f7ab4fe880eba4e451bbe@amu.edu.pl \
    --to=golinski@amu.edu.pl \
    --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).