Buy Me A Coffee

Install MinionPro font for TeXLive 2012 in Ubuntu 12.04 LTS

Created: February 20, 2013   Last Modified: November 14, 2022   Category: linux, tex   Print this pageBack to Home

Summary

This post aims to record the process of installing the MinionPro font for TeXLive 2012 in Ubuntu 12.04 LTS. The post from Carlo Hamalainen’s blog was very helpful for me to work with the install process.

Locate $TEXMFLOCAL

First, find the $TEXMFLOCAL folder using the following commands

kpsexpand '$TEXMFLOCAL'

The result in my terminal was /usr/local/texlive/2012/../texmf-local, which indicates that the $TEXMFLOCAL folder is /usr/local/texlive/texmf-local/. We shall install the fonts to that folder. Assume that all the required files are placed in ~/Downloads folder.

Install MnSymbol

Download the file MnSymbol-1.4.zip and extract it to ~/Downloads. In terminal, type

cd ~/Downloads/MnSymbol-1.4/tex
latex MnSymbol.ins
sudo mkdir -p /usr/local/texlive/texmf-local/tex/latex/MnSymbol/
sudo mkdir -p /usr/local/texlive/texmf-local/fonts/source/public/MnSymbol/
sudo mkdir -p /usr/local/texlive/texmf-local/doc/latex/MnSymbol/
sudo cp MnSymbol.sty /usr/local/texlive/texmf-local/tex/latex/MnSymbol/
cd..
sudo cp source/* /usr/local/texlive/texmf-local/fonts/source/public/MnSymbol/
sudo cp MnSymbol.pdf README /usr/local/texlive/texmf-local/doc/latex/MnSymbol/
sudo mkdir -p /usr/local/texlive/texmf-local/fonts/map/dvips/MnSymbol
sudo mkdir -p /usr/local/texlive/texmf-local/fonts/enc/dvips/MnSymbol
sudo mkdir -p /usr/local/texlive/texmf-local/fonts/type1/public/MnSymbol
sudo mkdir -p /usr/local/texlive/texmf-local/fonts/tfm/public/MnSymbol
sudo cp enc/MnSymbol.map /usr/local/texlive/texmf-local/fonts/map/dvips/MnSymbol/
sudo cp enc/*.enc /usr/local/texlive/texmf-local/fonts/enc/dvips/MnSymbol/
sudo cp pfb/*.pfb /usr/local/texlive/texmf-local/fonts/type1/public/MnSymbol/
sudo cp tfm/* /usr/local/texlive/texmf-local/fonts/tfm/public/MnSymbol/
sudo mktexlsr
sudo updmap-sys --enable MixedMap MnSymbol.map

Install MinionPro

Download the files

Next, extract scripts.zip to get the scripts folder. Then, extract all the OTF fonts in MinionProFonts.zip to the scripts/otf folder. In terminal, type

cd ~/Downloads/scripts
./convert.sh
sudo mkdir -p /usr/local/texlive/texmf-local/fonts/type1/adobe/MinionPro/
sudo cp pfb/*.pfb /usr/local/texlive/texmf-local/fonts/type1/adobe/MinionPro/
cd /usr/local/texlive/texmf-local
sudo unzip ~/Downloads/metrics-base.zip
sudo unzip ~/Downloads/metrics-full.zip
sudo unzip ~/Downloads/enc-1.001.zip

Edit the file updmap.cfg

sudo gedit /usr/local/texlive/2012/texmf-dist/web2c/updmap.cfg

by adding Map MinionPro.map to the end of the file.

Then, in terminal, type

sudo mktexlsr
sudo update-updmap
sudo updmap-sys

The process in finished.

Note: The required files can also be downloaded from CTAN.