Command line provided options override the default options in the ~/.pnglatex
file.
cliptex Plugin
cliptex is a small script that creates
formulas using the system clipboard.
$ cliptex
The above command uses the content of the system clipboard to generate a
formula. The clipboard is then replaced by the
generated image.
Tips
Bind the script to the Ctrl + Alt + C key
combination. Write your formula directly in the GMail editor, select it and
strike the key combination. Then, press Ctrl + V to
replace the formula with the generated image.
cliptex uses the default options set in the ~/.pnglatex file.
Installation
Download or clone the repository, then type
# chmod +x cliptex
# cp cliptex /usr/bin/cliptex
Dependencies
cliptex depends on pnglatex, wl-clipboard and xclip.
请发表评论