ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Willi Egger <context@boede.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Linenumbering
Date: Fri, 25 May 2012 17:19:59 +0200	[thread overview]
Message-ID: <AE803B0C-F817-4B78-B0E0-CD98DBF40DA5@boede.nl> (raw)
In-Reply-To: <98A05AF2-3E24-40FA-9764-59536D793D3F@emory.edu>

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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2012-05-25 15:19 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-25  8:07 Linenumbering Willi Egger
2012-05-25  8:48 ` Linenumbering Hans Hagen
2012-05-25 10:30   ` Linenumbering Willi Egger
2012-05-25 10:33     ` Linenumbering Willi Egger
2012-05-25 11:59       ` Linenumbering Rogers, Michael K
2012-05-25 15:19         ` Willi Egger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-09 22:46 Linenumbering MANUEL GONZALEZ SUAREZ
2014-04-15  6:58 ` Linenumbering Hans Hagen
2014-04-23  8:06   ` Linenumbering MANUEL GONZALEZ SUAREZ
2012-07-09 18:50 linenumbering Thomas A. Schmitz
2012-07-09 20:46 ` linenumbering Hans Hagen
2012-07-10  5:43   ` linenumbering Thomas A. Schmitz
2012-07-12 13:57   ` linenumbering Thomas A. Schmitz
2012-07-12 20:34     ` linenumbering Wolfgang Schuster
2012-07-14 15:09       ` linenumbering Thomas A. Schmitz
2006-01-14 12:18 linenumbering Thomas A. Schmitz
2006-01-15 18:14 ` linenumbering Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AE803B0C-F817-4B78-B0E0-CD98DBF40DA5@boede.nl \
    --to=context@boede.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).