last bookmark is wrong
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/
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
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/
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
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 -----------------------------------------------------------------
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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Peter Münster
-
Taco Hoekwater