From: Jean-Philippe Rey <jean-philippe.rey@ecp.fr>
To: conteXt mail <ntg-context@ntg.nl>
Subject: Placing arbitrary pdf bookmarks
Date: Sat, 22 Mar 2014 16:35:15 +0100 [thread overview]
Message-ID: <C32C5539-D2CC-4D4A-A44A-C7101F91BA37@ecp.fr> (raw)
Hello all,
I am willing to use ConTeXt to produce a bunch of stickers. My stickers are grouped into categories but I don't want any headers or titles to interfere with the layout of the stickers, so I didn't use \startchapter and the likes. However, I would like to add pdf bookmarks in order to quickly jump to the start of a category. After taking a look at strc-bkm.mkiv, I tried the following
\setupinteraction[state=start]
\definelist[building]
\definelist[aisle]
\placebookmarks[building,aisle]
\starttext
\bookmark[building]{B1}
\bookmark[aisle]{A1}
Sticker 1
Sticker 2
\page
\bookmark[aisle]{A2}
Sticker 3
Sticker 4
\page
\bookmark[building]{B2}
\bookmark[aisle]{A3}
Sticker 5
Sticker 6
\stoptext
But it didn't worked. I didn't get any error message but no bookmark either.
How can I directly add a bookmark to the pdf table of contents ? Previously I was using the ReportLab toolkit which provided for this purpose the bookmarkPage and addOutlineEntry functions. Is there a similar solution with ConTeXt ?
Thanks for your help,
--
Jean-Philippe Rey Professeur - École Centrale Paris
jean-philippe.rey@ecp.fr 92295 Châtenay-Malabry Cedex - France
Empreinte PGP : 807A 5B2C 69E4 D4B5 783A 428A 1B5E E83E 261B BF51
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2014-03-22 15:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-22 15:35 Jean-Philippe Rey [this message]
2014-03-22 16:31 ` Pablo Rodriguez
2014-03-22 18:11 ` Jean-Philippe Rey
2014-03-22 19:00 ` Pablo Rodriguez
2014-03-22 21:07 ` Jean-Philippe Rey
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=C32C5539-D2CC-4D4A-A44A-C7101F91BA37@ecp.fr \
--to=jean-philippe.rey@ecp.fr \
--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).