Skip to content

Instantly share code, notes, and snippets.

@hantoine
Forked from peterhurford/install_xelatex_on_mac.txt
Last active February 10, 2022 21:33
Show Gist options
  • Save hantoine/fcfaed109a6c67193ed4a134ac5ec223 to your computer and use it in GitHub Desktop.
Save hantoine/fcfaed109a6c67193ed4a134ac5ec223 to your computer and use it in GitHub Desktop.
How to install latex and xelatex on Mac so that Jupyter "Download as PDF" will work
brew install pandoc
brew tap homebrew/cask
brew --cask install basictex
eval "$(/usr/libexec/path_helper)"
export PATH="$PATH:/Library/TeX/texbin/"
sudo tlmgr update --self
sudo tlmgr install texliveonfly
sudo tlmgr install adjustbox
sudo tlmgr install tcolorbox
sudo tlmgr install collectbox
sudo tlmgr install ucs
sudo tlmgr install environ
sudo tlmgr install trimspaces
sudo tlmgr install titling
sudo tlmgr install enumitem
sudo tlmgr install rsfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment