At 12:42 20/04/2004, you wrote:
Dear readers of this list, I would like to typeset a bible-text with ConTeXt. The header should print the first and the last verse on that particular page. I used the commands \marking to mark the verses and \getmarking to setup the headers as shown in the excerpt below. This works correctly with a single column layout, but not in a two column layout. The last verse printed in the headers is not the correct one, the first or the second on the following page is given. Is there a work around for this problem? Many thanks in advance for helpful hints
i knew it was coming one day .... add this to cont-new.tex: \unprotect \letvalue{\??mk\??mk\v!kolom:\v!eerste }\getsplitfirstmark \letvalue{\??mk\??mk\v!kolom:\v!laatste}\getsplitbottommark \protect then this should work (unbalanced only, and not yet in columnsets) \definemarking[vers][] \setupheadertexts[{\getmarking[vers][first] -- \getmarking[vers][column:last]}] \starttext \startcolumns[n=2,balance=no] \dorecurse{10}{\expanded{\marking[vers]{\recurselevel}} \recurselevel:\dorecurse{4}{\input ward } \endgraf} \stopcolumns \stoptext The following definition is nicer: \setupheadertexts [\doiftext{\getmarking[vers][first]} {\doiftextelse{\getmarking[vers][column:last]} {\getmarking[vers][first] -- \getmarking[vers][column:last]} {\getmarking[vers][first]}}]