- Clone this repo.
- Create an account for Mathpix OCR over at Mathpix.
- Insert your Mathpix OCR app id and key in
auth.el.template
, and save it as a newauth.el.gpg
file.math2latex
will then load this file and your credentials. - Load the
math2latex.el
file
- Have the formula you want to convert ready on the screen somewhere
- In emacs, move the pointer to where the LaTeX formula should go
- M-x math2latex
- Draw box around the formula you want to convert
- LaTeX version of your formula will appear at point
- [ ] Split functionality in
math2latex.el
over multiple functions - [ ] Better handle response from Mathpix
- [ ] Define :complete function separately
- [ ] Print a message when response says no formula was detected
- [ ] Print confidence level in case conversion is successful
- [X] Make demonstrative video
- [X] Make this into package format
- [X] Create logo for project
- [X] Test this on Linux