Monday, April 8, 2013

Install TeX Live, TeXShop on an OS X mountain lion laptop


First, install TeXLive using port.


$ sudo port install texlive 
--->  Computing dependencies for texlive
--->  Dependencies to be installed: texlive-basic texlive-bin fontconfig ghostscript autoconf help2man p5.12-locale-gettext perl5.12 gdbm perl5 automake jbig2dec lcms2 libidn libpaper libpng libtool pkgconfig xorg-libXext xorg-xextproto xorg-libXt xorg-libsm xorg-libice libzzip poppler cairo glib2 libffi libpixman lzo2 xorg-xcb-util xrender xorg-renderproto curl curl-ca-bundle openjpeg jbigkit poppler-data t1lib texlive-common xorg-libXaw xorg-libXmu xpm xorg-libXp xorg-printproto texlive-documentation-base texlive-bin-extra detex dvipng gd2 latexdiff p5.12-algorithm-diff latexmk texlive-latex pdfjam texlive-latex-recommended pgf texlive-context texlive-fonts-recommended texlive-math-extra texlive-metapost texlive-xetex texlive-generic-recommended texlive-documentation-english texlive-fontutils lcdf-typetools ps2eps psutils t1utils texlive-lang-czechslovak texlive-lang-dutch texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-luatex
--->  Fetching archive for fontconfig
--->  Attempting to fetch fontconfig-2.10.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/fontconfig
--->  Attempting to fetch fontconfig-2.10.2_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/fontconfig
--->  Installing fontconfig @2.10.2_0
--->  Activating fontconfig @2.10.2_0
--->  Cleaning fontconfig
--->  Fetching archive for gdbm
--->  Attempting to fetch gdbm-1.10_2.darwin_12.x86_64.tbz2 from http://packages.macports.org/gdbm
--->  Attempting to fetch gdbm-1.10_2.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/gdbm
--->  Installing gdbm @1.10_2
--->  Activating gdbm @1.10_2
--->  Cleaning gdbm
--->  Fetching archive for perl5.12
--->  Attempting to fetch perl5.12-5.12.4_1.darwin_12.x86_64.tbz2 from http://packages.macports.org/perl5.12
... ...



Second, install the frontend TeXShop.
$ sudo port install Texshop3

--->  Fetching archive for TeXShop3
... ...

There are some link problem fo /usr/texbin/pdflatex.  So, 
$ sudo mkdir texbin
Password:
$ cd texbin/
$ sudo ln -s /opt/local//bin/pdflatex .
$ sudo ln -s /opt/local//bin/*latex* .




No comments:

Post a Comment