Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this package work on Mac OS? #1

Open
fountainer opened this issue May 6, 2020 · 4 comments
Open

Does this package work on Mac OS? #1

fountainer opened this issue May 6, 2020 · 4 comments

Comments

@fountainer
Copy link

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

@jethrokuan
Copy link
Owner

jethrokuan commented May 6, 2020

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

@fountainer
Copy link
Author

(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.

@jethrokuan
Copy link
Owner

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

@fountainer
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants