Thanks,
Frank
Probably the best place to ask for help is the context mailing list (more viewers there).
See [[http://www.ntg.nl/mailman/listinfo/ntg-context the mailman info page]].
For your immediate problem: you need to use <texcode>\midaligned{\getmarking[chapter]}</texcode> The 'magic word' versions only work if they are the sole context of the bracket group.
[[User:Taco|Taco]]