* Bookmark question
@ 2008-02-05 12:00 WN
2008-02-06 8:25 ` Taco Hoekwater
0 siblings, 1 reply; 10+ messages in thread
From: WN @ 2008-02-05 12:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
When I use \bookmark[chapter]{Some bookmark} the bookmark appears twice
in the list of bookmarks
but the bookmark also appears twice in the Table of Contents.
Is this a known problem/bug or is there something I should do ?
I am using ConTeXt ver: 2008.02.01 17:25 MKII fmt: 2008.2.4 int:
english/english
Kind regards
Wim
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-05 12:00 Bookmark question WN
@ 2008-02-06 8:25 ` Taco Hoekwater
2008-02-06 16:19 ` WN
0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2008-02-06 8:25 UTC (permalink / raw)
To: mailing list for ConTeXt users
WN wrote:
> Hi,
>
> When I use \bookmark[chapter]{Some bookmark} the bookmark appears twice
> in the list of bookmarks
> but the bookmark also appears twice in the Table of Contents.
I think chapter titles are supposed appear automatically in the
bookmarks, no need for an explicit \bookmark.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 8:25 ` Taco Hoekwater
@ 2008-02-06 16:19 ` WN
2008-02-06 18:37 ` Taco Hoekwater
0 siblings, 1 reply; 10+ messages in thread
From: WN @ 2008-02-06 16:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1078 bytes --]
Taco Hoekwater wrote:
> WN wrote:
>
>> Hi,
>>
>> When I use \bookmark[chapter]{Some bookmark} the bookmark appears twice
>> in the list of bookmarks
>> but the bookmark also appears twice in the Table of Contents.
>>
>
> 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).
Best wishes
Wim
> 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
> ___________________________________________________________________________________
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 2032 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 16:19 ` WN
@ 2008-02-06 18:37 ` Taco Hoekwater
2008-02-06 19:21 ` WN
0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2008-02-06 18:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 553 bytes --]
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
[-- Attachment #2: bookm.tex --]
[-- Type: text/x-tex, Size: 231 bytes --]
\setupinteraction[state=start]
\placebookmarks[chapter][chapter]
\setupinteractionscreen[option=bookmark]
\starttext
\chapter{In the beginning}
\bookmark[chapter]{In initio} % Without [chapter], this is fine!
Oh no.
\stoptext
[-- Attachment #3: 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 18:37 ` Taco Hoekwater
@ 2008-02-06 19:21 ` WN
2008-02-06 19:30 ` Hans Hagen
0 siblings, 1 reply; 10+ messages in thread
From: WN @ 2008-02-06 19:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1787 bytes --]
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).
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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2818 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 19:21 ` WN
@ 2008-02-06 19:30 ` Hans Hagen
2008-02-06 19:41 ` Taco Hoekwater
2008-02-11 17:39 ` WN
0 siblings, 2 replies; 10+ messages in thread
From: Hans Hagen @ 2008-02-06 19:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 19:30 ` Hans Hagen
@ 2008-02-06 19:41 ` Taco Hoekwater
2008-02-06 20:44 ` Hans Hagen
2008-02-11 17:39 ` WN
1 sibling, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2008-02-06 19:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans Hagen wrote:
> 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
That looks good, but why? Does \complexbookmark only work to
overrule a yet-to-come sectioning command?
Cheers,
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 19:41 ` Taco Hoekwater
@ 2008-02-06 20:44 ` Hans Hagen
2008-02-06 21:47 ` Taco Hoekwater
0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2008-02-06 20:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
Taco Hoekwater wrote:
> Hans Hagen wrote:
>> 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
>
> That looks good, but why? Does \complexbookmark only work to
> overrule a yet-to-come sectioning command?
no, the previous one (bookmarks are flushed in everypar)
in this case the \complete... has a \chapter so the bookmark influences
that one
-----------------------------------------------------------------
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 20:44 ` Hans Hagen
@ 2008-02-06 21:47 ` Taco Hoekwater
0 siblings, 0 replies; 10+ messages in thread
From: Taco Hoekwater @ 2008-02-06 21:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hans Hagen wrote:
>> That looks good, but why? Does \complexbookmark only work to
>> overrule a yet-to-come sectioning command?
>
> no, the previous one (bookmarks are flushed in everypar)
>
> in this case the \complete... has a \chapter so the bookmark influences
> that one
So what is wrong with this input then?
% engine=pdftex
\setupinteraction[state=start]
\placebookmarks
\starttext
\chapter{In the beginning}
\bookmark[chapter]{In initio} % Without [chapter], this is fine!
Oh no.
\stoptext
This creates three (3!) chapter bookmark entries:
In the beginning
In initio
In initio
instead of the expected 1:
In initio
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Bookmark question
2008-02-06 19:30 ` Hans Hagen
2008-02-06 19:41 ` Taco Hoekwater
@ 2008-02-11 17:39 ` WN
1 sibling, 0 replies; 10+ messages in thread
From: WN @ 2008-02-11 17:39 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: pragma
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2008-02-11 17:39 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-05 12:00 Bookmark question 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 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).