[NTG-context] PDF bookmarks appear twice

Andrey Riabushenko cdome at bk.ru
Wed Dec 31 16:35:06 CET 2008


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?


More information about the ntg-context mailing list