ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: marking in columnset
Date: Thu, 24 Nov 2005 13:10:59 +0100	[thread overview]
Message-ID: <4385ADD3.5010503@seznam.cz> (raw)

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

             reply	other threads:[~2005-11-24 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-24 12:10 Vit Zyka [this message]
2005-11-24 15:17 ` Hans Hagen
2005-11-24 16:38   ` Vit Zyka
2005-11-24 16:54     ` Hans Hagen
2005-11-24 17:45       ` Vit Zyka
2005-11-24 20:56         ` Hans Hagen
2005-11-24 23:03           ` Vit Zyka
2005-11-24 17:55     ` Hans Hagen
2005-11-24 23:09       ` Vit Zyka
2005-11-24 23:18         ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4385ADD3.5010503@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).