Added M4 syntax to sdoc, minor changes to tex-document