Re: [NTG-context] last bookmark is wrong

2008-06-07 Thread Taco Hoekwater
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
___


Re: [NTG-context] last bookmark is wrong

2008-06-07 Thread Taco Hoekwater
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
___


Re: [NTG-context] last bookmark is wrong

2008-06-07 Thread Hans Hagen
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
___


Re: [NTG-context] last bookmark is wrong

2008-06-07 Thread Hans Hagen
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
___