This is a command line tool wrapper around mathlive.
git clone https://github.com/casouri/quick-mathlive.git
cd quick-mathlive
npm install
Put quick-mathlive.el
under somewhere in load-path.
(require 'quick-mathlive)
Run M-x quick-mathlive
on math environments. Close the window and the change will be applied. If you want to shutdown the background process, use quick-mathlive-quit-server
.
Usage: quick-mathlive [options] [command]
Options:
-V, --version output the version number
-p --port <port> Port
-h, --help output usage information
Commands:
start Start background process
edit [latex] Edit Latex equations in mathlive
quit Quit background process
quick-mathlive start
This starts a server listening on local port. You can append an ampersand to make it run in the background.
quick-mathlive edit '\iota'
This send the latex text to the server, and the server will open a mathlive window in where you can edit math formulas. When you close the window the modified content is printed to standard output.
quick-mathlive quit
This sends QUIT
to the server and shuts it down.