mathpix.el icon indicating copy to clipboard operation
mathpix.el copied to clipboard

Does this package work on Mac OS?

Open fountainer opened this issue 4 years ago • 4 comments

I tried it on Mac OS, but it doesn't prompt for a screenshot. Did I miss something?

fountainer avatar May 06 '20 12:05 fountainer

You'll need to configure your screenshot method:

https://github.com/jethrokuan/mathpix.el/blob/master/mathpix.el#L20

(setq mathpix-screenshot-method "screencapture -i %s")

should work for OSX

jethrokuan avatar May 06 '20 12:05 jethrokuan

(setq mathpix-screenshot-method "screencapture -i %s")

It works very well when I take a screenshot of non-emacs windows. However, it's very hard to use it to capture formulas in Emacs windows, such as pdf-tools window.

fountainer avatar May 06 '20 13:05 fountainer

why is that? the screenshot tool is agnostic of the currently open software.

jethrokuan avatar May 06 '20 15:05 jethrokuan

I'm not sure why is that. It usually cannot select an area in Emacs windows when I drag the cursor.

fountainer avatar May 07 '20 04:05 fountainer