Xetex templates and documentation