Skip to content

Commit

Permalink
Merge pull request #6 from hkiel/OSX_latex
Browse files Browse the repository at this point in the history
Also add /Library/TeX/texbin to PATH on OS X.
  • Loading branch information
hkiel committed Oct 28, 2016
2 parents ef48413 + 510bd18 commit f6b146d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMNotebook/OMNotebookGUI/qtapp.cpp
Expand Up @@ -76,8 +76,8 @@ int main(int argc, char *argv[])
limits.rlim_cur = limits.rlim_max;
setrlimit(RLIMIT_STACK, &limits);

// App path is not same as command line path, so add /us/texbin for latex-cell support
qputenv("PATH", qgetenv("PATH") + ":/usr/texbin");
// App path is not same as command line path, so add /Library/TeX/texbin and /usr/texbin for latex-cell support
qputenv("PATH", qgetenv("PATH") + ":/Library/TeX/texbin:/usr/texbin");
#endif

MMC_INIT();
Expand Down

0 comments on commit f6b146d

Please sign in to comment.