Releases: Mingzefei/latex2word
Releases · Mingzefei/latex2word
v1.3.0
-
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
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
- Fixed module import issues, improving stability.
- Enhanced the command-line tool for a more intuitive and efficient user experience.
- Switched to
pyproject.tomlfor dependency management, replacingsetup.py. - Released on PyPI; users can install via
pip install tex2docx.
v1.1.0
What's Changed
Enhancements:
- Multi-figure Support: Added compatibility with both 'subfig' and 'subfigure' LaTeX packages, offering greater flexibility in handling sub-figures.
- Positioning and Layout: Addressed and corrected issues related to the relative positioning of multi-figures, ensuring that the layout remains consistent as intended.
- Caption Display: Fixed bugs affecting the display and formatting of captions, now ensuring they render correctly across various document setups.
- Language Support: Introduced support for Chinese, allowing the inclusion of multilingual content without affecting functionality.
- Label Automation: Implemented automatic updates for labels within the document, which improves the accuracy and reliability of cross-referencing.
- Sub-figure Referencing: Enhanced the ability to reference sub-figures, making navigation and documentation more user-friendly and precise.