Skip to content

A Linux toolset for the Remarkable 2 tablet, which enables math handwriting recognition and LaTeX generation over USB via Mathpix.

License

Notifications You must be signed in to change notification settings

Samdney/rmathlab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rmathlab

rmathlab.py is a Linux toolset for the Remarkable 2 tablet, which enables math handwriting recognition and LaTeX generation over USB via Mathpix. It pulls a specific file as PDF from your Remarkable 2 tablet to your current working directory on your computer, and then sends it to Mathpix for receiving handwriting recognition in different file formats. Available formats are: tex, mmd, docx, html, lines.json, lines.mmd.json (default: tex).

Requirements

Disclaimer

  • Usage of rmathlab.py on your own risk. The author doesn't take any responsibility for possible damage.
  • To use rmathlab.py you need an Mathpix API id and key. Each request by this API key for handwriting recognition to Mathpix costs fees. Keep your fees in mind. The author doesn't take any responsibility for emerging costs.

Usage and operation

  • Connect the Remarkable 2 tablet via USB and enable USB connection via Menue -> Settings -> Storage -> USB Connection

  • Then run rmathlab.py <filename> to request handwriting recognition by Mathpix for the file <filename>. Read rmathlab.py --help to see how you can change its default behavior.

  • At the first run, you will be asked for your SSH_NAME, Mathpix APP_ID and APP_KEY, which will be written to a configfile config.ini. You can also create the configfile manually by adding it to your rmathlabapp directory (default: /home/<user>/.rmathlab), with the content

    [ssh]
    SSH_NAME = <your SSH_NAME>
    
    [mathpix]
    APP_ID   = <your Mathpix APP_ID>
    APP_KEY  = <your Mathpix APP_KEY>
    

Acknowledgement

rmathlab uses some parts of rmirro for Remarkable communication.

About

A Linux toolset for the Remarkable 2 tablet, which enables math handwriting recognition and LaTeX generation over USB via Mathpix.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages