Thank you very much for pointing this out. - I am able to typeset the text in the way I would like. I tried a couple of options but not all of them have effects. - I can understand that, because it looks like this mechanism is under further construction … Willi On May 25, 2012, at 1:59 PM, Rogers, Michael K wrote:
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). ___________________________________________________________________________________ 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 ___________________________________________________________________________________