* 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
* Re: Line numbering in two column layout conflicts with marking
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
0 siblings, 1 reply; 6+ messages in thread
From: Oliver von Criegern @ 2019-12-09 14:18 UTC (permalink / raw)
To: ntg-context
Any suggestions, how to solve this problem?
Am 02.12.19 um 20:06 schrieb Oliver von Criegern:
> 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
* Re: Line numbering in two column layout conflicts with marking
2019-12-09 14:18 ` Oliver von Criegern
@ 2019-12-18 16:39 ` Oliver von Criegern
2019-12-23 11:02 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Oliver von Criegern @ 2019-12-18 16:39 UTC (permalink / raw)
To: ntg-context
So there seems to be no solution for this?
Am 09.12.19 um 15:18 schrieb Oliver von Criegern:
> Any suggestions, how to solve this problem?
>
> Am 02.12.19 um 20:06 schrieb Oliver von Criegern:
>> 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
* Re: Line numbering in two column layout conflicts with marking
2019-12-18 16:39 ` Oliver von Criegern
@ 2019-12-23 11:02 ` Wolfgang Schuster
2020-01-07 12:26 ` Oliver von Criegern
0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2019-12-23 11:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
Oliver von Criegern schrieb am 18.12.2019 um 17:39:
> So there seems to be no solution for this?
Not a solution but pagecolumns show the correct marks even with line
numbering.
Wolfgang
___________________________________________________________________________________
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
* Re: Line numbering in two column layout conflicts with marking
2019-12-23 11:02 ` Wolfgang Schuster
@ 2020-01-07 12:26 ` Oliver von Criegern
2020-01-07 18:40 ` Hans Hagen
0 siblings, 1 reply; 6+ messages in thread
From: Oliver von Criegern @ 2020-01-07 12:26 UTC (permalink / raw)
To: Wolfgang Schuster, mailing list for ConTeXt users
Using \definepagecolumns[xyz][n=2] instead of \setupcolumns[n=2]
and \startpagecolumns[xyz] etc. instead of \startcolumns etc.
seems to do what I want, except that the columns of the last page
aren't balanced any more.
Anyway, pagecolumns seems to be experimental.
The manual says "Don't use page columns in production".
Am 23.12.19 um 12:02 schrieb Wolfgang Schuster:
> Oliver von Criegern schrieb am 18.12.2019 um 17:39:
>> So there seems to be no solution for this?
>
> Not a solution but pagecolumns show the correct marks even with line
> numbering.
>
> Wolfgang
>
--
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
* Re: Line numbering in two column layout conflicts with marking
2020-01-07 12:26 ` Oliver von Criegern
@ 2020-01-07 18:40 ` Hans Hagen
0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2020-01-07 18:40 UTC (permalink / raw)
To: mailing list for ConTeXt users, Oliver von Criegern, Wolfgang Schuster
On 1/7/2020 1:26 PM, Oliver von Criegern wrote:
> Using \definepagecolumns[xyz][n=2] instead of \setupcolumns[n=2]
> and \startpagecolumns[xyz] etc. instead of \startcolumns etc.
> seems to do what I want, except that the columns of the last page
> aren't balanced any more.
>
> Anyway, pagecolumns seems to be experimental.
> The manual says "Don't use page columns in production".
as long as you keep in mind that they might 'improve' you can just use
them (they are just not tested a lot)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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).