On May 25, 2012, at 6:33 AM, Willi Egger wrote:
Hi, On May 25, 2012, at 12:30 PM, Willi Egger wrote:
Oh dear, stupid me…
Still I have two things:
- It appears that the intent option is not honored and the numbers appear always in the margin.
should read as intext .. ;-)
- The numbers are flush right in the margin, but after line >99 the third number is placed outside the margin towards the text.
Willi
Try \setuplinenumbering[step=5,location=text]
From page.lin.mkiv, there seems to be these options now: \setnewconstant\linenumberlocation \plusone % 0=middle, 1=left, 2=right, 3=inner, 4=outer, 5=text, 6=begin, 7=end One may also use command=\myLocation, e.g., to put the line number in text at right, use \def\myLocation#1{\rlap{\hskip\leftmargindistance\hskip\textwidth{#1}}}
Note: Changing to location=middle in your (or any) example gives an error, \domakelinenumber undefined: \starttext \setuplinenumbering[step=5,location=middle] \startlinenumbering \startlines Een nieuwe lente en een nieuw geluid: Ik wil dat dit lied klinkt als het gefluit, Dat ik vaak hoorde voor een zomernacht, In een oud stadje, langs de watergracht --- In huis was 't donker, maar de stille straat Vergaarde schemer, aan de lucht blonk laat Nog licht, er viel een gouden blanke schijn Over de gevels van mijn raamkozijn. \stoplines \stoplinenumbering \stoptext ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments).