From: WN <wneimeijer@tiscali.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: pragma@wxs.nl
Subject: Re: Bookmark question
Date: Mon, 11 Feb 2008 18:39:17 +0100 [thread overview]
Message-ID: <47B08845.3040105@tiscali.nl> (raw)
In-Reply-To: <47AA0ADA.2010403@wxs.nl>
[-- Attachment #1.1: Type: text/plain, Size: 3130 bytes --]
Your solution works, but now I have to rewrite my carefully crafted
environment
and setups. I rather wish your solution works within the start/stop
frontmatter
construct.
Is this possible ?
Kind regards
Wim
> 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
>> ___________________________________________________________________________________
>>
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 4576 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2008-02-11 17:39 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
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 [this message]
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=47B08845.3040105@tiscali.nl \
--to=wneimeijer@tiscali.nl \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.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).