Skip to content

Releases: Mingzefei/latex2word

v1.3.0

25 Jul 15:31

Choose a tag to compare

  1. 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
  2. Improved testing infrastructure:

    • Renamed and reorganized test files for better clarity:
      • test_tex2docx_refactored.pytest_unit.py (unit tests for individual components)
      • test_tex2docx.pytest_integration.py (end-to-end integration tests)
    • Added comprehensive test documentation in tests/README.md
    • Enhanced pytest configuration with proper markers and test discovery
  3. 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
  4. 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

19 Oct 05:02

Choose a tag to compare

  1. Add support for \include in LaTeX texfiles. (#3)
  2. Enhanced the display of figures and tables for better formatting and presentation.
  3. Fixed conflicts between cm and varwidth in tables.
  4. Resolved conflict issues between subfig and varwidth.

v1.2.3

18 Oct 11:52

Choose a tag to compare

Add feature and option to fix table (#2)

v1.2.2

18 Oct 11:14

Choose a tag to compare

fix comments bug(#1 )

v1.2.1

02 Oct 12:42

Choose a tag to compare

Improved default value settings, including built-in Word style templates and ieee.csl (used as default values).

v1.2.0

28 Sep 15:56
afc9abf

Choose a tag to compare

  1. Fixed module import issues, improving stability.
  2. Enhanced the command-line tool for a more intuitive and efficient user experience.
  3. Switched to pyproject.toml for dependency management, replacing setup.py.
  4. Released on PyPI; users can install via pip install tex2docx.

v1.1.0

23 Sep 03:52

Choose a tag to compare

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.

v1.0.0

21 Sep 15:38

Choose a tag to compare

Modify README and add README_zh