- Normalization - in this stage TeX files will be normalized to the default LaTeX coding. ie ., if author used customized macros, those macros will be replaced by the actual coding in the tex file by the tool
- Mapping xml tag in ini - in this stage, we need to map the auto generated content, as well as the new structure not defined in the ini
- Cleanup - in this stage tool will be removed the commented text in the tex file, also small inline equation will be converted equvilent text code/entity
- aux cleanup and validation - in this stage aux file will be validated for undefined and multiply defined labels, if any error xml wont generate
- xml mapping - in this stage tool will be replaced by the TeX tag to XML tag, based on the mapped XMl structure
- XML well-form - in this stage tool will be validated the converted XML is well formed or not, if not will through the error
- Final XML generation - the well formed XML will be parsed and validated