[NTG-context] Hook environment into head/structure setup

Andreas Harder andreas.harder at rz-online.de
Mon Nov 15 13:10:53 CET 2010


Hi all,

I don't think it is yet possible, but it would be nice if there was something like:

\setuphead % or perhaps \setupstructure
  [chapter]
  [beforestructure=\startlinenumbering,
    afterstructure=\stoplinenumbering]

Which should result in:

\startlinenumbering
  \startchapter[title=test]
    Text
  \stopchapter
\stoplinenumbering

Is there already a way to achieve this? I've consequently used \start-\stopchapter, maybe one can append \start-\stoplinenumbering to them?

I would appreciate any help

	Andreas


More information about the ntg-context mailing list