README.md: Add Mac OS X build instructions

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
Alan Orth 2015-06-12 15:20:34 +03:00
parent bac8517a6b
commit 91085c8f10
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -40,4 +40,14 @@ __On Ubuntu:__
$ sudo apt-get install texlive $ sudo apt-get install texlive
$ sudo apt-get --no-install-recommends install texlive-latex-extra $ sudo apt-get --no-install-recommends install texlive-latex-extra
__Mac OS X:__ download and install [BasicTeX](https://www.tug.org/mactex/morepackages.html) (a minimal TeXLive distribution) and then:
$ export PATH=$PATH:/usr/local/texlive/2014basic/bin/x86_64-darwin
$ sudo tlmgr install collection-fontsrecommended
$ wget https://launchpad.net/moderncv/trunk/1.5.1/+download/moderncv-1.5.1.zip
$ unzip moderncv-1.5.1.zip
$ sudo mkdir /usr/local/texlive/2014basic/texmf-local/tex/latex/moderncv
$ sudo cp moderncv/*.sty moderncv/*.cls /usr/local/texlive/2014basic/texmf-local/tex/latex/moderncv
$ sudo mktexlsr
__Others:__ send a pull request with instructions for your distro. __Others:__ send a pull request with instructions for your distro.