macro definitions moved to document structure
macro definitions moved to document structure (bis)
first version of command macro infrastructure
first test for macro-command