[NTG-context] Placing extra bookmarks?

Bruce Horrocks ntg at scorecrow.com
Wed Dec 2 23:33:17 CET 2020

> On 2 Dec 2020, at 18:42, Hans Hagen <j.hagen at xs4all.nl> wrote:
> On 12/2/2020 12:10 AM, Bruce Horrocks wrote:
>> On 1 Dec 2020, at 16:37, Henning Hraban Ramm <texml at fiee.net> wrote:
>>>> Am 01.12.2020 um 15:36 schrieb Bruce Horrocks <ntg at scorecrow.com>:
>>>> I have \placebookmarks[chapter] in my doc and all is fine except that I'd like to force an extra bookmark at the top of the list that jumps to the cover page. However there is no chapter title, or other built in style on the cover.
>>>> I tried inserting \bookmark[chapter]{The Cover} but nothing happened - no error, no bookmark.
>>>> Any suggestions please? There's no need to bookmark to a specific point - just going to page 1 would be enough.
>>> Did you enable interactions? \setupinteractions[state=start]
>>> But when I recently tried to manually set some bookmarks instead of visible chapter titles, I also didn’t get any; didn’t investigate further yet.
> there are some examples in the test suite (sections/bookmarks-*.tex)
> You can specify bookmarks when you use \startsection etc an dalso add them any place to named lists.

Thanks Hans - I never thought to look in the test cases (d'oh!).

For the benefit of those searching the archives in the future, here is an MWE adapted from one of the test cases that places one bookmark via a chapter heading and one manually that is not linked to any document section.

\enabletrackers[references.bookmarks,backend.resources] % For debug only




    \input zapf
    \bookmark[mylist]{Bookmark not linked to a section heading}
    \input zapf
        \input tufte

I shall add it to the Wiki.
Bruce Horrocks
Hampshire, UK

More information about the ntg-context mailing list