ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Quickie about Line Numbering
Date: Fri, 23 Nov 2007 22:05:45 +0100	[thread overview]
Message-ID: <1195851946.5116.25.camel@g5.home> (raw)
In-Reply-To: <47473C30.8030805@tttech.com>


On Fri, 2007-11-23 at 21:46 +0100, Matthias Wächter wrote:
> Hi!
> 
> Just wondering how I can manage to number all the lines of my document.
> Thought that this would work but it actually doesn't.
> 
> \starttext
> \startlinenumbering
> 
> \chapter{First}
> 
> A paragraph
> 
> Another paragraph.
> 
> \chapter{Second}
> 
> Wait and see---nothing.
> 
> \stoplinenumbering
> \stoptext
> 
> 
> Is there a better/smarter way for doing this than typing a lot of
> \(start|stop)linenumbering around paragraphs of text? We need line
> numbers as part of our document review process for clearly referencing
> error spots.
> 
> - Matthias

I have some dim recollection that I asked a similar question some time
ago, and the answer was: you can't (but I can't find a reference in the
archive, so I may be wrong). You'll have to explicitly tell ConTeXt to
start line numbering after headings:

\starttext

\chapter{First}

\startlinenumbering
A paragraph

Another paragraph.
\stoplinenumbering

\chapter{Second}

\startlinenumbering
Wait and see---nothing.
\stoplinenumbering

\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2007-11-23 21:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 20:46 Matthias Wächter
2007-11-23 21:05 ` Thomas A. Schmitz [this message]
2007-11-23 21:45   ` Matthias Wächter
2007-11-23 22:34     ` Taco Hoekwater
2007-11-24 22:28     ` Hans Hagen
2007-11-26  9:18       ` Matthias Wächter
2007-11-26 10:29         ` 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=1195851946.5116.25.camel@g5.home \
    --to=thomas.schmitz@uni-bonn.de \
    --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).