ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Placing arbitrary pdf bookmarks
@ 2014-03-22 15:35 Jean-Philippe Rey
  2014-03-22 16:31 ` Pablo Rodriguez
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Philippe Rey @ 2014-03-22 15:35 UTC (permalink / raw)
  To: conteXt mail

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-22 21:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-22 15:35 Placing arbitrary pdf bookmarks Jean-Philippe Rey
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

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).