- takes screenshot
- converts it to latex (using https://mathpix.com)
- pastes latex to clipboard
screenshot2latex
- Python 3.X (recommended distribution: Anaconda)
- gnome-screenshot
- Mathpix credentials
pip install git+ssh://[email protected]/rmst/screenshot2latex.git
Add Mathpix credentials to bash .bashrc
export MATHPIX_ID="MATHPIX_ID"
export MATHPIX_KEY="MATHPIX_KEY"
On Ubuntu/Gnome: assing a keyboard shortcut to screenshot2latex go to Settings/Keyboard/Custom Shortcuts
click on +
and add screenshot2latex
as command.
You might have to restart the computer to make the credentials available to the shell (e.g. gnome).