-
Major code refactoring: Complete modular restructuring of the codebase
- Split monolithic
tex2docx.py(1139 lines) into 8 specialized modules for better maintainability - Introduced clear separation of concerns with dedicated modules for configuration, parsing, conversion, etc.
- Enhanced type annotations and error handling throughout the codebase
- Split monolithic
-
Improved testing infrastructure:
- Renamed and reorganized test files for better clarity:
test_tex2docx_refactored.py→test_unit.py(unit tests for individual components)test_tex2docx.py→test_integration.py(end-to-end integration tests)
- Added comprehensive test documentation in
tests/README.md - Enhanced pytest configuration with proper markers and test discovery
- Renamed and reorganized test files for better clarity:
-
Critical bug fixes:
- Fixed LaTeX reference line break issue where
\ref{}commands were incorrectly split as\nef{} - Resolved CLI import errors with proper module structure
- Enhanced reference numbering accuracy for tables, figures, and equations
- Fixed LaTeX reference line break issue where
-
Developer experience improvements:
- Better project structure with clear module boundaries
- Comprehensive documentation updates
- Cleaner development workflow with organized test suites
- Preserved all existing functionality while improving code quality