Metadata-Version: 2.4
Name: wordequation
Version: 0.1.0
Summary: LaTeX to editable Word equations (OMML) compiler
Author: Your Name
License: MIT
Project-URL: Homepage, https://github.com/yourname/wordequation
Keywords: latex,word,docx,omml,equation,math
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Text Processing :: Markup :: LaTeX
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: python-docx>=0.8.11
Requires-Dist: lxml>=4.6.0
Dynamic: requires-python

# WordEquation

Convert LaTeX math to editable Microsoft Word equations.

## Install

```bash
pip install wordequation
```

## Quick Start

```python
from docx import Document
from wordequation import Equation

doc = Document()
Equation(r"\frac{a}{b}").add_to(doc)
Equation(r"\int_0^1 x^2 dx").add_to(doc)
doc.save("equations.docx")
```

## Supported Commands

| Category | Commands |
|----------|----------|
| Fractions | `\frac{num}{den}` |
| Roots | `\sqrt{x}`, `\sqrt[3]{x}` |
| Super/Sub | `x^2`, `x_1` |
| Integrals | `\int_a^b` |
| Sum/Prod | `\sum`, `\prod` |
| Limits | `\lim_{x\to 0}` |
| Trig | `\sin`, `\cos`, `\tan` |
| Logs | `\log`, `\ln`, `\exp` |
| Matrices | `\begin{pmatrix}`, `\begin{bmatrix}` |
| Cases | `\begin{cases}` |
| Brackets | `\left(`, `\right)`, `\left\{`, `\left[` |
| Symbols | `\infty`, `\partial`, `\nabla`, `\forall`, `\exists`, `\pm`, `\times`, `\cdot`, `\neq`, `\leq`, `\geq`, `\alpha`–`\omega`, 40+ more |

## Architecture

```
LaTeX → Tokenizer → Parser → AST → Analyzer → IR → OMML Backend → Word
```

## License

MIT
