Mactex Brew



Step 1, Installing TeXLive 2015(MacTeX-2015)

$ brew install caskroom/cask/brew-cask
$ brew cask install mactex

Mactex Brew

I currently have a working MacTex 2014 installation and Homebrew installation on OS 10.10.3, and am about to install MacTex 2015. But I'm concerned about permission issues. Homebrew’s package index. Name: MacTeX Full TeX Live distribution without GUI applications.

Step 2, Updating TeXLive 2015, change the PATH of the TeX Live 2013(remove 2013 PATH and re-launch iTerm2)

$ sudo tlmgr update --self --all --dry-run # if you want...
$ sudo tlmgr update --self --all

  • # For latex: brew cask install mactex brew install libsvg curl libxml2 gdal geos boost R CMD javareconf JAVACPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers brew tap caskroom/fonts brew cask install font-fira-code brew cask install iterm2 brew cask install gitup # if you want a GUI for git stuff (h/t @jennybryan).
  • Brew cask install xquartz # mactex is optional, needed for parsing equations in qthelp documentation. Brew cask install mactex brew install openssl brew install cmake brew install qt@4 -with-qt3support -build-bottle # sip,pyqt and qscintilla2 bring in homebrew's python if # installed with -build-bottle.
  • I currently have a working MacTex 2014 installation and Homebrew installation on OS 10.10.3, and am about to install MacTex 2015. But I'm concerned about permission issues. Both packages install in.

Step 3, from here if you don’t use “Japanese Font”, please skip.

$ tlmgr info jfontmaps # confirm later than 20151002
~
cat-version: 20151002.0
~

Step 4, Make it active for Japanese font.

$ cd /usr/local/texlive/2015/texmf-dist/scripts/cjk-gs-integrate
$ sudo perl cjk-gs-integrate.pl --link-texmf --force
$ sudo mktexlsr
$ sudo updmap-sys --setoption kanjiEmbed hiragino-elcapitan-pron

LaTeX, which is pronounced «Lah-tech» or «Lay-tech», is a document preparation system for high-quality typesetting. It is most often used for medium-to-large technical or scientific documents but it can be used for almost any form of publishing.

Installation

When installing LaTex, two following options are given to users:

  1. Install MacTeX with builtin editor (TexLive) - (3.2GB)
  2. Install BasicTeX only (100MB) + your personal LaTeX editor

MacTeX vs BasicTeX

MacTeX includes additional programs such as an editor and a BibTeX reference manager that help users to work with TeX outside of the command line. BasicTeX does not include these GUI programs. The trade-off that comes with using BasicTeX is that you will have to download and install additional packages and programs as the need arises- and BasicTeX is so basic that the need will arise. So, after installing BasicTeX you will be faced with the tasks of installing additional programs and installing missing packages.

MacTex

Download MacTex, or use brew install --cask mactex.You can read more about MacTex in What is installed (pdf).

Since MacTex installs a LaTex editor (TexMaker) already, installing another LaTeX editor is unnecessary.

Mactex Brewer

BasicTeX

Download BasicTeX, or use brew install --cask basictex. You can read more about BasicTex in BasicTeX (pdf).

Mactex

Mactex Brewing Company

You may use tlmgr to install tools/packages that you need.

Mactex brewing company

Note: You may find CLI tool tlmgr cumbersome to use, in that case install GUI for tlmgr - TeX Live Utility - brew install --cask tex-live-utility.

Mactex Brewery

Now you should pick a LaTeX editor, here are some to choose from:

Note: You may want to use a PDF reader that watches your PDF files, like Skim (can be installed by brew install --cask skim and Sync feature can be enabled in Preferences -> Sync).