ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* last bookmark is wrong
@ 2008-06-07  9:05 Peter Münster
  2008-06-07  9:56 ` Taco Hoekwater
  2008-06-07 19:23 ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Münster @ 2008-06-07  9:05 UTC (permalink / raw)
  To: ConTeXt list

Hello,

The last bookmark is s3 instead of b3 (MKII and MKIV):

\setupinteraction[state=start]
\placebookmarks[section]
\starttext
\section{s1}\bookmark{b1}
\section{s2}\bookmark{b2}
\section{s3}\bookmark{b3}
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___________________________________________________________________________________
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] 6+ messages in thread

* Re: last bookmark is wrong
  2008-06-07  9:05 last bookmark is wrong Peter Münster
@ 2008-06-07  9:56 ` Taco Hoekwater
  2008-06-07 10:59   ` Peter Münster
  2008-06-07 19:23 ` Hans Hagen
  1 sibling, 1 reply; 6+ messages in thread
From: Taco Hoekwater @ 2008-06-07  9:56 UTC (permalink / raw)
  To: ConTeXt list

Peter Münster wrote:
> Hello,
> 
> The last bookmark is s3 instead of b3 (MKII and MKIV):
> 
> \setupinteraction[state=start]
> \placebookmarks[section]
> \starttext
> \section{s1}\bookmark{b1}
> \section{s2}\bookmark{b2}
> \section{s3}\bookmark{b3}
> \stoptext

That is because there is no text at all following the last bookmark,
so hopefully this buglet will not affect any finished documents.

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] 6+ messages in thread

* Re: last bookmark is wrong
  2008-06-07  9:56 ` Taco Hoekwater
@ 2008-06-07 10:59   ` Peter Münster
  2008-06-07 12:20     ` Taco Hoekwater
  2008-06-07 19:28     ` Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Münster @ 2008-06-07 10:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Jun 07 2008, Taco Hoekwater wrote:

> > The last bookmark is s3 instead of b3 (MKII and MKIV):
> > 
> > \setupinteraction[state=start]
> > \placebookmarks[section]
> > \starttext
> > \section{s1}\bookmark{b1}
> > \section{s2}\bookmark{b2}
> > \section{s3}\bookmark{b3}
> > \stoptext
> 
> That is because there is no text at all following the last bookmark,
> so hopefully this buglet will not affect any finished documents.

Ok, here comes a better example:

\setupinteraction[state=start]
\placebookmarks[section]
\starttext
\section{s1}\bookmark{b1}
bla
\section{s2}\bookmark{b2}
bla
\section{s3}\bookmark{b3}
\bTABLE\bTR\bTD bla\eTD\eTR\eTABLE
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

___________________________________________________________________________________
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] 6+ messages in thread

* Re: last bookmark is wrong
  2008-06-07 10:59   ` Peter Münster
@ 2008-06-07 12:20     ` Taco Hoekwater
  2008-06-07 19:28     ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Taco Hoekwater @ 2008-06-07 12:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Münster wrote:
>> That is because there is no text at all following the last bookmark,
>> so hopefully this buglet will not affect any finished documents.
> 
> Ok, here comes a better example:

I did not say there was no bug, just that it is unlikely to be hit ;-)
The \bookmark command works out fine in context enters horizontal
(paragraph) mode before the \stoptext, and it is wrong otherwise.

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] 6+ messages in thread

* Re: last bookmark is wrong
  2008-06-07  9:05 last bookmark is wrong Peter Münster
  2008-06-07  9:56 ` Taco Hoekwater
@ 2008-06-07 19:23 ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2008-06-07 19:23 UTC (permalink / raw)
  To: ConTeXt list

Peter Münster wrote:
> Hello,
> 
> The last bookmark is s3 instead of b3 (MKII and MKIV):
> 
> \setupinteraction[state=start]
> \placebookmarks[section]
> \starttext
> \section{s1}\bookmark{b1}
> \section{s2}\bookmark{b2}
> \section{s3}\bookmark{b3}

\the\everpar

> \stoptext

indeed, this is because bookmarks are handled at the next paragraph 
(which makes overloading easier)

the future alternative is start/stopsection

Hans

-----------------------------------------------------------------
                                           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] 6+ messages in thread

* Re: last bookmark is wrong
  2008-06-07 10:59   ` Peter Münster
  2008-06-07 12:20     ` Taco Hoekwater
@ 2008-06-07 19:28     ` Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2008-06-07 19:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Münster wrote:
> On Sat, Jun 07 2008, Taco Hoekwater wrote:
> 
>>> The last bookmark is s3 instead of b3 (MKII and MKIV):
>>>
>>> \setupinteraction[state=start]
>>> \placebookmarks[section]
>>> \starttext
>>> \section{s1}\bookmark{b1}
>>> \section{s2}\bookmark{b2}
>>> \section{s3}\bookmark{b3}
>>> \stoptext
>> That is because there is no text at all following the last bookmark,
>> so hopefully this buglet will not affect any finished documents.
> 
> Ok, here comes a better example:
> 
> \setupinteraction[state=start]
> \placebookmarks[section]
> \starttext
> \section{s1}\bookmark{b1}
> bla
> \section{s2}\bookmark{b2}
> bla
> \section{s3}\bookmark{b3}
> \bTABLE\bTR\bTD bla\eTD\eTR\eTABLE

this is because there is no everypar applied


-----------------------------------------------------------------
                                           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] 6+ messages in thread

end of thread, other threads:[~2008-06-07 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-07  9:05 last bookmark is wrong Peter Münster
2008-06-07  9:56 ` Taco Hoekwater
2008-06-07 10:59   ` Peter Münster
2008-06-07 12:20     ` Taco Hoekwater
2008-06-07 19:28     ` Hans Hagen
2008-06-07 19:23 ` Hans Hagen

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).