LaTeXSnipper ships a v3.1.0 desktop app and a 0.3.1 OCR runtime, and its GPU extras cannot be combined
Formula Recognition & Office Editing Math Workspace | Handwriting & PDF to LaTeX/Markdown, And Secure API Integrations.
At a glance
- What is it?
- LaTeXSnipper is a Python desktop app that turns screenshots, PDFs and handwriting into editable formulas, with an OCR runtime, a Word and PowerPoint plugin and a local automation API. Its newest tag says LTS while its release title says BETA, and its two GPU dependency groups contradict each other.
- Who is it for?
- LaTeXSnipper fits a Windows user who wants screenshot-to-LaTeX plus a Word and PowerPoint path, and who accepts that the add-in needs the desktop app running with its API enabled. It fits badly for a Linux user on Wayland relying on global screenshot shortcuts, or for anyone who needs a stable LTS-tagged contract, since the newest tag says LTS while its release title says BETA.
- Can I use it commercially?
- Yes, with conditions. GPL-3.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- SakuraMathcraft/LaTeXSnipper1,134 ★ · +198
| Repository | 2026-09-12 | 2026-11-25 |
|---|---|---|
| SakuraMathcraft/LaTeXSnipper | 936 | 1.1k |
198 Stars in the last 74 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Two version lines, and a tag that disagrees with its own release title
The desktop application ships as v3.1.0-LTS, published 2026-09-28, following v3.0.0-LTS on 2026-09-07. The 3.1.0 release carries the title LaTeXSnipper v3.1.0 BETA, so the tag reads LTS while the release name reads BETA for the same build. The last push is dated 2026-10-01, with 980 stars, 50 forks and one open issue, and the project describes itself as a free, ad-free personal project with no in-app purchases.
The Python side does not share that number. pyproject.toml declares a distribution named mathcraft-ocr at version 0.3.1, described as an ONNX-only OCR runtime for mathematical documents, classified as Development Status :: 3 - Alpha, licensed GPL-3.0-only, and pointing its readme field at README_MATHCRAFT_OCR.md rather than the application readme. The package you build from source therefore has its own name, its own semver line and its own maturity label, and it is the manifest that declares the Python floor of 3.10 and the upper bound of 3.14.
Weights and benchmark numbers live elsewhere again. MathCraft OCR points at a separate MathCraft-Models repository for weights and benchmark results, while the instructions for reproducing those benchmarks sit in this repository under benchmarks/mathcraft_ocr. A VERSION file at the root adds a fourth place to look when you are trying to work out what you have installed.
The two GPU groups pull the same package over disjoint version ranges
Picking a backend is where the packaging turns sharp, because the optional dependency groups do not all combine. The required dependencies are ranged, with three exceptions pinned exactly: numpy>=2,<3, pillow>=12,<13 and opencv-python>=4.10,<5, then rapidocr==3.5.0, transformers==4.55.4 and tokenizers==0.21.4. The backend groups are:
cpu = [
"onnxruntime>=1.20,<1.30",
]
gpu = [
"onnxruntime-gpu>=1.27,<1.30",
]
gpu-cu12 = [
"onnxruntime-gpu>=1.21,<1.27",
]The two GPU groups ask for the same distribution, onnxruntime-gpu, over ranges that do not overlap: one wants 1.27 or newer and below 1.30, the other wants 1.21 or newer and below 1.27. No environment satisfies both, so choosing between them encodes a CUDA generation rather than a preference. Nothing in the manifest maps either range to a CUDA or driver version, so the decision has to be made against the machine you have rather than against anything the project states. Two more groups narrow by platform: directml applies on Windows only, and openvino on Windows or Linux.
The ONNX-only description also sits next to transformers, tokenizers and rapidocr in the required list. Read it as a statement about the inference path rather than about the dependency set: the runtime is ONNX, and the rest handles images and text.
Windows bundles its Python, Linux and macOS borrow yours
The three desktop packages differ in who supplies the interpreter. The Windows build is LaTeXSnipper_<version>_amd64.exe with the Python runtime included, so no separate system Python installation is needed, and it works from a bundled Python 3.11 template. The Linux build is LaTeXSnipper_<version>_<architecture>.deb and expects Python >=3.10,<3.14 with venv and pip, and the package declares python3 and python3-venv dependencies so the installer brings them in. The macOS build is a LaTeXSnipper_<version>_<architecture>.dmg with the same Python requirement, plus Screen Recording permission for screenshots, and the note asks you to install a supported Python version if none is present.
Because Linux and macOS use the system Python to create a managed dependency environment while Windows uses its bundled template, first launch opens Dependency Management, where you install the required layers and a CPU or GPU backend. Initial model setup downloads weights at that point. If you intend to use an external model only, you configure and test its connection in Settings instead.
Two per-platform limits are named in the same table, and both land on the feature the table lists first. Wayland may restrict screenshots and global shortcuts on Linux, and macOS screenshots depend on a permission you have to grant. Screenshot recognition is the most exposed part of this project on those two systems.
The Automation API is off by default and local by default
The automation surface carries the sharpest wording in the documentation. The API is disabled by default. Local clients read the address and the token from automation-api.json. Remote access needs explicit opt-in, a separate key, and either HTTPS or an encrypted tunnel, with an explicit instruction not to expose it over plain public HTTP. Remote external-model access is controlled separately from remote access to the application, and it may incur provider charges, so the security switch and the billing switch are not the same switch.
What sits behind that gate is wide. Snipaste, AutoHotkey, AutoKey, Hammerspoon and ShareX are named as desktop shortcut clients. Submitting images with Python or curl is the batch path for editor integrations. Shortcuts or Tasker on mobile connect to a running desktop app through a secure tunnel. The repository ships ready-to-adapt client examples under examples/automation/, with the reference in docs/automation_api.md.
One dependency is easy to miss. The Office plugin performs local formula rendering and screenshot OCR through the desktop Automation API, which makes the add-in a client of the desktop app rather than a standalone component. It needs the app running with the API enabled, and that is a different deployment story from an ordinary Office add-in.
Six built-in export formats and a headline count of twenty
The feature table promises export in 20 formats, naming LaTeX, MathML, Word, PDF and Typst among them. The export section names six that are built in: LaTeX, Markdown math, MathML, HTML, Word OMML and SVG code. The remainder arrive through layers you install. Document exports such as Word, PowerPoint, EPUB, PDF and Typst need the optional Pandoc layer added through Dependency Management, and PDF export needs a LaTeX PDF engine on top of that.
The format count is therefore a function of which layers are installed, not a fixed property of the application, and the headline number cannot be reached from the built-in list. Two details matter if you are planning a pipeline. The Pandoc bridge appears twice in the repository under different pinning, as pypandoc==1.17 in the desktop requirements and pypandoc>=1.15 as the pandoc extra in the OCR runtime manifest. And Word has two independent routes, Word OMML as a built-in export and Word as a Pandoc document export, which is the same mechanism the Office plugin uses to insert formulas.
The full format list and the requirements for each are kept in the user manual, which is written in Chinese. The FAQ, the user data locations page and the API reference sit under docs/ in English.
An amd64-only add-in offered for 32-bit Office
The Office plugin is a separate download, LaTeXSnipperOffice_<version>_amd64.exe, and it is described as built for Windows desktop Word and PowerPoint, where formulas can be inserted and edited directly. It inserts through Word OLE/OMML and PowerPoint OLE/PNG while keeping the LaTeX source editable, and it handles formula editing, updates, and Word automatic numbering and references.
The support matrix is where the packaging detail earns its place: 32-bit and 64-bit Office 2019/2021/2024, LTSC 2021/2024, and Microsoft 365 Apps on Windows. One amd64 binary is offered for both 32-bit and 64-bit Office, so the add-in's own architecture is not the variable that decides compatibility. The Office bitness and install type are. The pywin32 dependency in the desktop requirements is marked for sys_platform win32, which is consistent with a Windows-only path throughout.
Two documentation paths sit behind the add-in, office_plugin/README.md for installation requirements and features, and docs/office_plugin_formula_workflows.md for the formula workflows. If your document pipeline is the reason you want this, read the workflows page before the feature list, because insertion mechanics differ between Word and PowerPoint.
Exact pins for the GUI stack, ranges everywhere else
The desktop application pins its GUI stack exactly:
PyQt6==6.10.0
PyQt6-Qt6==6.10.0
PyQt6-WebEngine==6.10.0
PyQt6-WebEngine-Qt6==6.10.0
PyQt6-Fluent-Widgets==1.11.2
PyMuPDF==1.27.2.2Four of those six lines carry the same 6.10.0 version, which keeps the Qt runtime, the WebEngine wrapper and the Python binding aligned with each other. Exact pinning is what prevents a WebEngine build from loading against a different Qt than the one it was built for. PyMuPDF is pinned for PDF handling, and pyperclip, psutil, lxml, packaging, pypandoc, requests and pywin32 complete the list. Pillow appears in both manifests at different strictness, pinned to 12.3.0 for the application and ranged pillow>=12,<13 for the runtime, so a shared environment inherits the stricter pin.
What the manifest leaves out is worth noting too. The dev extra holds ruff, build and twine, and no test runner appears in any dependency list, although the repository carries test/, test_pdf/, tools/, benchmarks/, scripts/, packaging/ and docs/ directories. Static checking is configured twice, through .pylintrc and pyrightconfig.json. Windows signing is arranged through a .signpath directory, alongside an Inno/ directory and three .spec files, one generic and one each for Linux and macOS. PRIVACY.md sits at the root next to .gitignore and .gitattributes.
Editorial conclusion
LaTeXSnipper fits a Windows user who wants screenshot-to-LaTeX plus a Word and PowerPoint path, and who accepts that the add-in needs the desktop app running with its API enabled. It fits badly for a Linux user on Wayland relying on global screenshot shortcuts, or for anyone who needs a stable LTS-tagged contract, since the newest tag says LTS while its release title says BETA. Before installing, check four things: which of your target export formats are built in versus gated behind Pandoc and a LaTeX engine, which ONNX runtime group matches your own driver, what your Python version does to the managed environment, and where automation-api.json is written if you intend to enable remote access. Each of those is answered somewhere under docs/.
Frequently asked questions
What does SakuraMathcraft/LaTeXSnipper turn into editable math?
Screenshots, opened images, selected PDF pages and handwriting are recognized into formulas, text and mixed content, then edited with MathLive in a math workspace with live preview. Results can be copied or exported, and six built-in formats are named: LaTeX, Markdown math, MathML, HTML, Word OMML and SVG code.
Does LaTeXSnipper need Python installed on my machine?
On Windows, no: the amd64 executable includes the Python runtime and uses a bundled Python 3.11 template. The Linux .deb and the macOS .dmg both expect a system Python >=3.10,<3.14 with venv and pip, and they use that interpreter to create the managed dependency environment. The Linux package also declares python3 and python3-venv dependencies.
How is the LaTeXSnipper Automation API secured?
It is disabled by default. Local clients read the address and the token from automation-api.json. Remote access requires explicit opt-in, a separate key, and either HTTPS or an encrypted tunnel, and the documentation says not to expose it over plain public HTTP. Remote external-model access is a separate switch and may incur provider charges.
Can I use the LaTeXSnipper Office plugin without the desktop app?
Not as documented. The add-in performs local formula rendering and screenshot OCR through the desktop Automation API, so the desktop application has to be running with that API enabled. It is also a Windows-only amd64 build, downloaded separately, supporting 32-bit and 64-bit Office 2019/2021/2024, LTSC 2021/2024 and Microsoft 365 Apps.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/sakuramathcraft-latexsnipper)Star history chart for your README
[](https://hysenlabs.com/projects/sakuramathcraft-latexsnipper)Was this useful?