ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lars <axteffekt@gmail.com>
To: ntg-context@ntg.nl
Subject: Fwd: Correct usage of \placebookmarks
Date: Fri, 26 Jan 2018 04:37:19 +0100	[thread overview]
Message-ID: <5b832c87-c9ba-0124-0510-ff4a47109ef9@gmail.com> (raw)
In-Reply-To: <7529de1a-d7f9-7bf9-cd58-8ee44ba6f0bc@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1420 bytes --]

Am I being ignored personally here?


---------------------------------------------------

Hello there,

I've stumbled upon a behaviour in CTX that I don't fully understand. My 
goal is to create a multipage document *without* heads (title, chapter, 
etc) but only text. Yet I would like to create bookmarks. So my MWE 
looks the following:

\setupinteraction[state=start]
\setupinteractionscreen[option=bookmark]
\definelist[Marks]
\placebookmarks[Marks][Marks][force=yes]

\starttext

   \bookmark[Marks]{Bookmark one}
   \input tufte

   \page

   \bookmark[Marks]{Bookmark two}
   \input knuth

\stoptext

Yet CTX doesn't create bookmarks in that case. I first have to add a 
blank predefined header like chapter or section anywhere in the text:

\setupinteraction[state=start]
\setupinteractionscreen[option=bookmark]
\definelist[Marks]
\placebookmarks[Marks][Marks][force=yes]

\starttext

   \bookmark[Marks]{Bookmark one}
   \input tufte

   \page

   \bookmark[Marks]{Bookmark two}
   \input knuth

\startchapter[title={},marking={}]
   \stopchapter

\stoptext

Although I haven't added chapter key to \placebookmarks, so that it also 
doesn't show up in the bookmarks window, only then CTX seems to create 
bookmarks for the list which I created called Marks.

Is there a way to circumvent this? I'd like boomarks only where I place 
them manually, without using headers.

Thanks in advance, Lars.


[-- Attachment #1.2: Type: text/html, Size: 3071 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2018-01-26  3:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18 20:03 Lars
2018-01-18 20:41 ` Henning Hraban Ramm
2018-01-24  6:26 ` Fwd: " Lars
2018-01-26  3:37   ` Lars [this message]
2018-01-26  5:10     ` Henri
2018-01-26 11:59       ` Lars
2018-01-26 12:34         ` Hans Hagen
2018-01-26 18:53         ` Henning Hraban Ramm

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=5b832c87-c9ba-0124-0510-ff4a47109ef9@gmail.com \
    --to=axteffekt@gmail.com \
    --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).