ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Line numbering in two column layout conflicts with marking
@ 2019-12-02 19:06 Oliver von Criegern
  2019-12-09 14:18 ` Oliver von Criegern
  0 siblings, 1 reply; 6+ messages in thread
From: Oliver von Criegern @ 2019-12-02 19:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list members,

line numbering in a two column layout apparently conflicts with the 
marking mechanism.

Consider the following example:


\setupcolumns[n=2]

\setuplinenumbering
     [
     step=5,
     method=page,
     align=flushright,
     ]

\definemarking[Test]

\setupheadertexts[{\fetchmark[Test][top] -- \fetchmark[Test][bottom]}]

\startbuffer
\dorecurse{12}{words }
\stopbuffer

\starttext
\startcolumns
\startlinenumbering
\marking[Test]{ONE}ONE \dorecurse{12}{\getbuffer}\par
\marking[Test]{TWO}TWO \dorecurse{29}{\getbuffer}\par
\marking[Test]{THREE}THREE \dorecurse{12}{\getbuffer}\par
\stoplinenumbering
\stopcolumns
\stoptext


In the result, the header of the first page reads "ONE -- THREE", 
despite marking "THREE" being placed in the third line of the second page.

Without linenumbering, the header of the first page reads "ONE -- TWO", 
as is to be expected.

Best regards,
Oliver


-- 
Dr. Oliver von Criegern
Referat für IT und Digital Humanities
Bayerische Akademie der Wissenschaften
Alfons-Goppel-Str. 11
80539 München
Tel.: 089-23031-1310

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-07 18:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 19:06 Line numbering in two column layout conflicts with marking Oliver von Criegern
2019-12-09 14:18 ` Oliver von Criegern
2019-12-18 16:39   ` Oliver von Criegern
2019-12-23 11:02     ` Wolfgang Schuster
2020-01-07 12:26       ` Oliver von Criegern
2020-01-07 18:40         ` Hans Hagen

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).