Okay, moving the discussion from the soc - page to here :)

I'll have a look on the MediaWiki plugin and how they do it. 
(I think the parser I want to use can also handle \newcommand{ ... and similiar things very well. 

The bad point is: The parser is (not yet) in debian... i'm package it atm. ;-)