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