From: Andrey Riabushenko <cdome@bk.ru>
To: ntg-context@ntg.nl
Subject: PDF bookmarks appear twice
Date: Wed, 31 Dec 2008 17:35:06 +0200 [thread overview]
Message-ID: <200812311735.06930.cdome@bk.ru> (raw)
I have found similar issue was discussed in this list, but it doesn't contain
a suitable solution for me
These command work just fine to add bookmark for every part, chapter and etc.
\setupinteraction [state=start]
\setupinteractionscreen [option=bookmark]
\placebookmarks [part,chapter,section,subsection] [chapter]
But I want to add three additional bookmarks (without adding them to the
contents): title page, resume(second page), contents.
I have defined it the following way:
\definemakeup[Titlepage][pagestate=start, page=right]
\definemakeup[Resume][pagestate=start, page=right]
\definestartstop[Abstract][before={\page[blank,right] \midaligned{\bf
Abstract}\startnarrower[2*middle]}, after={\stopnarrower\blank[big] }]
\starttext
\startTitlepagemakeup
\bookmark[chapter]{Title page}
\tfd Title page \\
\stopTitlepagemakeup
\startResumemakeup
\bookmark[chapter]{Resume}
\startAbstract
Abstract paragraph full of text
\stopAbstract
Author name
\stopResumemakeup
\title{Contents}
\bookmark[chapter]{Contents}
\placecontent[interaction=all]
\stoptext
In this case bookmarks appear twice in the bookmark menu. If I use \bookmark{}
without [chapter] the bookmarks do not appear at all. I have tried to put
bookmarks out of start/stop environments but it didn't help.
How to work around this issue?
___________________________________________________________________________________
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
___________________________________________________________________________________
reply other threads:[~2008-12-31 15:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200812311735.06930.cdome@bk.ru \
--to=cdome@bk.ru \
--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).