Skip to content
Quick mathlive from commandline
JavaScript Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mathlive
.gitignore
Makefile
README.org
cmd.js
index.html
main.js
package-lock.json
package.json
quick-mathlive.el
quick-mathlive.gif
script.js
style.css
test.tex

README.org

quick mathlive

This is a command line tool wrapper around mathlive.

./quick-mathlive.gif

Install

git clone https://github.com/casouri/quick-mathlive.git
cd quick-mathlive
npm install

Emacs

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.

Command line

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.

You can’t perform that action at this time.