* linenumbering in columnsets (or different solution?)
@ 2013-07-09 17:36 Thomas A. Schmitz
2013-07-10 10:05 ` Hans Hagen
[not found] ` <51DD322E.80506@wxs.nl>
0 siblings, 2 replies; 3+ messages in thread
From: Thomas A. Schmitz @ 2013-07-09 17:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi,
I want a document with two columns; left column is poetry, so I want the
lines to be numbered. Unfortunately, linenumbering doesn't appear to
work in columns(ets), so my next attempt was to produce a third, very
narrow column which displays the line numbers. However, columnsets with
different columns is not implemented in mkiv, AFAICS. Examples:
No line numbers:
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[grid=yes]
\definecolumnset [numbered] [n=2]
\setupcolumnset [numbered] [distance=0.5cm,frame=on]
\starttext
\startcolumnset [numbered]
\startlinenumbering[step=1,location=text]
Poetry
One
Word
Per
Line
is
Poetic
\stoplinenumbering
\column[local]
Two
\column[local]
\stopcolumnset
\stoptext
Works only in mkii:
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[grid=yes]
\definecolumnset [numbered] [n=2]
\setupcolumnset [numbered] [distance=0.5cm,frame=on]
\starttext
\startcolumnset [numbered]
\startlinenumbering[step=1,location=text]
Poetry
One
Word
Per
Line
is
Poetic
\stoplinenumbering
\column[local]
Two
\column[local]
\stopcolumnset
\stoptext
Any solution?
All best
Thomas
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linenumbering in columnsets (or different solution?)
2013-07-09 17:36 linenumbering in columnsets (or different solution?) Thomas A. Schmitz
@ 2013-07-10 10:05 ` Hans Hagen
[not found] ` <51DD322E.80506@wxs.nl>
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2013-07-10 10:05 UTC (permalink / raw)
To: ntg-context
On 7/9/2013 7:36 PM, Thomas A. Schmitz wrote:
> Hi,
>
> I want a document with two columns; left column is poetry, so I want the
> lines to be numbered. Unfortunately, linenumbering doesn't appear to
> work in columns(ets), so my next attempt was to produce a third, very
> narrow column which displays the line numbers. However, columnsets with
> different columns is not implemented in mkiv, AFAICS. Examples:
i'll send you a patch to play with
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: linenumbering in columnsets (or different solution?)
[not found] ` <51DD322E.80506@wxs.nl>
@ 2013-07-10 12:38 ` Thomas A. Schmitz
0 siblings, 0 replies; 3+ messages in thread
From: Thomas A. Schmitz @ 2013-07-10 12:38 UTC (permalink / raw)
To: Hans Hagen, mailing list for ConTeXt users
On 07/10/2013 12:06 PM, Hans Hagen wrote:
> On 7/9/2013 7:36 PM, Thomas A. Schmitz wrote:
>
>> I want a document with two columns; left column is poetry, so I want the
>> lines to be numbered. Unfortunately, linenumbering doesn't appear to
>> work in columns(ets), so my next attempt was to produce a third, very
>> narrow column which displays the line numbers. However, columnsets with
>> different columns is not implemented in mkiv, AFAICS. Examples:
>
> \unprotect
>
> % in cont-new.mkiv:
Thanks Hans, this works! Will it make it into the core for the next beta?
Thomas
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-10 12:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-09 17:36 linenumbering in columnsets (or different solution?) Thomas A. Schmitz
2013-07-10 10:05 ` Hans Hagen
[not found] ` <51DD322E.80506@wxs.nl>
2013-07-10 12:38 ` Thomas A. Schmitz
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).