https://github.com/swhl/processlatexformulatools
Tools for processing LaTeX formulas.
https://github.com/swhl/processlatexformulatools
formula katex latex-ocr
Last synced: 2 months ago
JSON representation
Tools for processing LaTeX formulas.
- Host: GitHub
- URL: https://github.com/swhl/processlatexformulatools
- Owner: SWHL
- License: mit
- Created: 2023-11-12T03:01:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-30T14:00:00.000Z (about 2 years ago)
- Last Synced: 2026-03-11T21:56:25.697Z (3 months ago)
- Topics: formula, katex, latex-ocr
- Language: JavaScript
- Homepage: https://swhl.github.io/ProcessLaTeXFormulaTools/docs
- Size: 2.85 MB
- Stars: 8
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
### Introduction
This repository is a library of tools for processing LaTeX formulas. This includes checking existing LaTeX formulas for syntax errors and normalizing existing LaTeX formulas for subsequent use in tasks such as training.
### What are normalized LaTeX formulas?
From:[An End-to-End Formula Recognition Method Integrated Attention Mechanism Figure 7.](https://www.mdpi.com/2227-7390/11/1/177)
### Environment
- [Node.js](https://nodejs.org/en/download)
- Python
### Installation
```bash
pip install process_formula
```
### Usage
```bash
$ process_formula --input_content tests/test_files/formulas.lst --out_path formulas.norm.lst
```
### Documentation
Full documentation can be found on [docs](https://swhl.github.io/ProcessLaTeXFormulaTools/docs), in Chinese.
### Acknowledgements
Most of the code in this warehouse comes from [harvardnlp/im2markup](https://github.com/harvardnlp/im2markup). Thank you very much.
### Code Contributors
### Contributing
- Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.
- Please make sure to update tests as appropriate.
### [Sponsor](https://rapidai.github.io/Knowledge-QA-LLM/docs/sponsor/)
If you want to sponsor the project, you can directly click the **Buy me a coffee** image, please write a note (e.g. your github account name) to facilitate adding to the sponsorship list below.
### License
This project is released under the [MIT](https://github.com/SWHL/ProcessLaTeXFormulaTools/blob/fee132e672e22ea417e34050b9a3e9df825ab36c/LICENSE).
