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

default to finding tex2svg on user's $PATH #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dankessler
Copy link

If tex2svg is installed in such a way that it is available on $PATH (from within emacs), then there's no need for the user to install it manually.

I've set the default value of org-latex-impatient-tex2svg-bin to simply tex2svg (as opposed to the empty string which it was previously set to); this default will work if emacs can find tex2svg on the path. I've also updated the documentation to specify that the user may need to set the value (since otherwise things may just work). I've also adjusted the documentation to suggest a global installation of mathjax-node-cli (and fixed some indentation while I was at it), since IMHO this makes it more likely that tex2svg will be on $PATH (e.g., on MacOS, if node is installed using homebrew, then npm install -g mathjax-node-cli will put tex2svg under /opt/homebrew/bin/tex2svg, which is likely to be on $PATH

If `tex2svg` is installed in such a way that it is available on `$PATH` (from
within emacs), then there's no need for the user to install it manually.

I've set the default value of `org-latex-impatient-tex2svg-bin` to simply
`tex2svg` (as opposed to the empty string which it was previously set to); this
default will work if emacs can find `tex2svg` on the path. I've also updated the
documentation to specify that the user *may* need to set the value (since
otherwise things may just work). I've also adjusted the documentation to suggest
a global installation of `mathjax-node-cli` (and fixed some indentation while I
was at it), since IMHO this makes it more likely that `tex2svg` will be on
`$PATH` (e.g., on MacOS, if `node` is installed using `homebrew`, then `npm
install -g mathjax-node-cli` will put `tex2svg` under
`/opt/homebrew/bin/tex2svg`, which is likely to be on `$PATH`
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

Successfully merging this pull request may close these issues.

1 participant