From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Bookmark question
Date: Wed, 06 Feb 2008 20:30:34 +0100 [thread overview]
Message-ID: <47AA0ADA.2010403@wxs.nl> (raw)
In-Reply-To: <47AA08B7.2080000@tiscali.nl>
WN wrote:
>
> This is what I would like to do
>
> \startfrontmatter
> \bookmark[chapter]{Inhoudsopgave}
> \completecontent[partnumber=no]
> \page
> \bookmark[chapter]{Lijst van figuren}
> \completelistoffigures[partnumber=no]
> \stopfrontmatter
> \startbodymatter
> \component chapter01
> \component chapter02
> ....
> \stopbodymatter
>
> the bookmarks only appears with the [chapter] included, but twice.
> Also they appear twice in the table of contents (which is consistent).
\setupinteraction[state=start]
\placebookmarks
\starttext
\completecontent[partnumber=no]
\bookmark[chapter]{Inhoudsopgave}
\page
\completelistoffigures[partnumber=no]
\bookmark[chapter]{Lijst van figuren}
\chapter{first}
\chapter{second}
\stoptext
> I would like the bookmarks to appear once and not in the TOC.
> Perhaps Hans can take the above code, as indeed your code works but
> not in the above code.
>
> Best wishes
> Wim
>
>
> Taco Hoekwater wrote:
>> WN wrote:
>>>>
>>>> I think chapter titles are supposed appear automatically in the
>>>> bookmarks, no need for an explicit \bookmark.
>>>>
>>> True enough. But should they appear twice ?
>>> I want a custom bookmark for the table of contents and list of figures,
>>> so I used \bookmark[chapter] to include these (once not twice).
>>
>> Ah, I see now. Looks like a bug to me. I do not understand the code
>> well enough to fix it, however. I am attaching a minimal example for
>> Hans.
>>
>> (meanwhile, you could use \bookmark without the optional argument).
>>
>> Best wishes,
>> Taco
>> ------------------------------------------------------------------------
>>
>> ___________________________________________________________________________________
>>
>> 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
>> ___________________________________________________________________________________
>>
>
>
>
> ------------------------------------------------------------------------
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-02-06 19:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-05 12:00 WN
2008-02-06 8:25 ` Taco Hoekwater
2008-02-06 16:19 ` WN
2008-02-06 18:37 ` Taco Hoekwater
2008-02-06 19:21 ` WN
2008-02-06 19:30 ` Hans Hagen [this message]
2008-02-06 19:41 ` Taco Hoekwater
2008-02-06 20:44 ` Hans Hagen
2008-02-06 21:47 ` Taco Hoekwater
2008-02-11 17:39 ` WN
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=47AA0ADA.2010403@wxs.nl \
--to=pragma@wxs.nl \
--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).