![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
21 Oct
2016
21 Oct
'16
9:42 a.m.
Bump! On Thu, 13 Oct 2016, Aditya Mahajan wrote:
Hi,
This is based on a bug-report on tex.sx: http://tex.stackexchange.com/q/333987/323
If a document starts with a typing environment then line numbering is not shown. Consider
\starttext
\doifmode{bugfix}{Whatever}
\starttyping[numbering=line] Line 1 Line 2 Line 3 Line 4 \stoptyping
\stoptext
If this code is run without enabling the bugfix mode, only the first line is numbered.
If the typing environment is not first block (e.g., if you enable the bugfix mode), then the line numering is correct.
Aditya