[NTG-context] issues with bookmarks

Hans Hagen pragma at wxs.nl
Mon Jul 27 14:47:33 CEST 2015


On 7/26/2015 8:01 PM, Pablo Rodriguez wrote:
> Hans,
>
> sorry for the long message, but I’m afraid that bookmarks have some issues.
>
> 1. When specifying sectionblocks, bookmarks for parts don’t contain
> chapters as child elements:
>
>      \setupinteraction[state=start]
>      \placebookmarks[part, chapter][part, chapter]
>      \setuphead[part][placehead=yes]
>      \starttext
>      \startfrontmatter
>      \chapter{Foreword}
>      \chapter{Introduction}
>      \stopfrontmatter
>      \startbodymatter
>      \part{First Part}
>      \chapter{First Chapter}
>      \chapter{Second Chapter}
>      \part{Second Part}
>      \chapter{Third Chapter}
>      \chapter{Fourth Chapter}
>      \stopbodymatter
>      \stoptext

In SumatraPDF (which i use mostly) and Acrobat I see

  Foreword
  Introduction
  1 First Part
  1.1 First Chapter
  1.2 Second Chapter
  2 Second Part
  2.1 Third Chapter
  2.2 Fourth Chapter

I remember a thread about bugged viewers so maybe your viewer is not ok.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list