Dear ConTeXters,
several kind of marking variants (first, last, both, ...) works
perfectly in standard one-column layout:
----------------------------------------------------
\definemarking[M]
\startsetups S
default=(\getmarking[M])~
first=(\getmarking[M][first])~
last=(\getmarking[M][last])~
previous=(\getmarking[M][previous])~
both=(\getmarking[M][both])~
all=(\getmarking[M][all])~
current=(\getmarking[M][current])
\stopsetups
\setupheadertexts[text]
[\setups{S}][]
[\setups{S}][]
\setuppagenumbering[location=footer]
\starttext
\startbuffer
\section{Knuth}
\marking[M]{k1}\marking[M]{k2}
\input knuth
\section{Zapf}
\marking[M]{z}
\input zapf
\stopbuffer
\dorecurse{10}{\getbuffer}
\stoptext
-------------------------------------------------------
If I try the same example in columnset layout, only last variant works
as expected:
-------------------------------------------------------
\definemarking[M]
\startsetups S
default=(\getmarking[M])~
first=(\getmarking[M][first])~
last=(\getmarking[M][last])~
previous=(\getmarking[M][previous])~
both=(\getmarking[M][both])~
all=(\getmarking[M][all])~
current=(\getmarking[M][current])
\stopsetups
\setupheadertexts[text]
[\setups{S}][]
[\setups{S}][]
\setuppagenumbering[location=none]
\definecolumnset[C][n=3]
\starttext
\startbuffer
\section{Knuth}
\marking[M]{k1}\marking[M]{k2}
\input knuth
\section{Zapf}
\marking[M]{z}
\input zapf
\stopbuffer
\startcolumnset[C]
\dorecurse{10}{\getbuffer}
\stopcolumnset
\stoptext
---------------------------------------------------------------
(Focus on page 1 and 4)
Is there any idea how to fix this?
Vit
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context