Skip to content

Add a ratex-py crate with integration tests#112

Open
westurner wants to merge 1 commit into
erweixin:mainfrom
westurner:add-ratex-py
Open

Add a ratex-py crate with integration tests#112
westurner wants to merge 1 commit into
erweixin:mainfrom
westurner:add-ratex-py

Conversation

@westurner

@westurner westurner commented Jun 20, 2026

Copy link
Copy Markdown

…and a /pyproject.toml

- ratex-py is in lib.rs
- Created `test_docutils_integration.py` for testing math rendering with docutils.
- Created `test_sphinx_integration.py` for testing math rendering in Sphinx documentation builds.
- Added basic structure and tests for various rendering scenarios including inline, block, and batch rendering.
- Implemented error handling tests for invalid LaTeX inputs.
- Introduced a `pyproject.toml` file for project metadata and build configuration using Maturin.
- Added Rust integration tests in `test_integration.rs` to verify internal structures and functions.
@erweixin

erweixin commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Thanks for working on this.

For now, I’d rather keep Python bindings outside of the main RaTeX repo. It’s a useful integration, but maintaining Python packaging, CI, releases, and API compatibility would be a separate ongoing commitment, and I want to keep the core repo focused on the Rust crates/renderers.

I think this makes more sense as a community package. If you publish it separately, I’m happy to link it from the docs/README.

Thanks again for the work here.

@westurner

Copy link
Copy Markdown
Author

IDK when I'll get to this;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants