Metadata-Version: 2.4
Name: eqnedit64
Version: 3.1.2
Summary: Fast TeX equation editing, rendering, and Office clipboard tools
Keywords: tex,latex,equation,mathml,powerpoint,office
Author: Kengo Sugahara
License-Expression: BSD-2-Clause
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: Operating System :: Microsoft :: Windows :: Windows 11
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Mathematics
Project-URL: Homepage, https://github.com/ksugahar/Radia/tree/main/tools/eqnedit64
Project-URL: Repository, https://github.com/ksugahar/Radia
Project-URL: Issues, https://github.com/ksugahar/Radia/issues
Requires-Python: >=3.10
Provides-Extra: test
Requires-Dist: build>=1.2; extra == "test"
Requires-Dist: pytest>=8; extra == "test"
Description-Content-Type: text/markdown

# Eqnedit64 for Python

Source version: **3.1.2**.

`eqnedit64` packages the same TeX-first equation engine and standalone Windows
application maintained in the Radia monorepo. The signed one-file
`Eqnedit64.exe` is the canonical editor and command-line converter and remains
available separately from GitHub Releases. It does not require Python.

```powershell
python -m pip install eqnedit64
eqnedit64
```

The direct native command-line converter always takes one input and one output:
`Eqnedit64.exe INPUT OUTPUT`. The package's `eqnedit64` console command is an
optional launcher for the bundled copy of that same EXE, not another CLI and
not a pybind11 surface. The input is
a UTF-8 TeX file or `clipboard`; the output is `office`, `slides`,
`clipboard-png`, or a `.png` / `.emf` file path. The legacy word `png` remains
accepted as a clipboard alias, but a path ending in `.png` always creates a
file.

```powershell
Eqnedit64.exe equation.tex office
Eqnedit64.exe equation.tex equation.png
Eqnedit64.exe clipboard clipboard-png
```

After a wheel install, replacing `Eqnedit64.exe` above with `eqnedit64` runs
the packaged copy with the same arguments.

The wheel provides:

- `eqnedit64.Equation` for structural editing, Tab-slot traversal, undo/redo,
  Backspace, multiline equations, and arbitrary matrix growth;
- `tex_to_svg`, `tex_to_mathml`, `tex_normalize`, palettes, and shortcuts;
- `copy_equation()` and `render_equation()` as thin subprocess users of the
  bundled native CLI;
- the Radia-owned browser editor assets through `web_asset()`;
- the bundled standalone application through the `eqnedit64` console command.

Only UTF-8 TeX is a source format. MTEF and `.eqn` are intentionally not
supported. Current wheels target 64-bit Windows and Python 3.10 or newer.

The wheel embeds the signed executable produced for the matching
`eqnedit64-v3.1.1` GitHub Release; it does not build a second application
implementation. The package is BSD 2-Clause licensed. The embedded Eqnedit
Math font is a TrueType-outline derivative of Latin Modern Math under the
GUST Font License. Its license and derivation manifest are included in the wheel.


## 3.1.2 PowerPoint colour limitation (UXP-0030/0031)

PowerPoint import drops colour on the shared conditional OMML CF_HTML route in
both editions. The user measured all r10 colour variants A–G as not red on
2026-10-08 and approved releasing 3.1.2 with this documented limitation. Colour
support remains enabled in the native/Web canvas, SVG, saved TeX, and native
EMF/DIB output. This decision does not strip colour from the source or renderer.
PowerPoint colour retention is not an acceptance requirement for this release.

User hand tests: H1/H5/H6 EXE OK on ea787664d; H7 EXE canvas red, PowerPoint
not red. Web H5/H6 OK on 8361ec916. Hosted CI 37692902458 verified 22/22 primary
OMML branches byte-identical on the actual Windows clipboard at ea787664d.
This supports the UXP-0031 EXE-test plus bit-gate qualification for the covered
corpus; it does not prove every TeX input or every Office/browser environment.
Changed payload behaviour requires renewed qualification. The release metadata
commit still requires its own CI. Formal publication follows the release gates.
