You probably can safely ignore all the rest below when using the above scripts.
Minion CTAN archive
sudo apt-get install lcdf-typetools
Fonts are installed with Adobe Acrobat Reader, for example:
otfinfo -v /opt/acrobat/Resource/Font/MinionPro-Regular.otf
On Ubuntu Intrepid, the Acrobat Reader 8 fonts can be found in
/usr/lib32/Adobe/Reader8/Resource/Font
This should result in
Version 2.015;PS 002.000;Core 1.0.38;makeotf.lib1.7.9032.
wget ftp://dante.ctan.org/tex-archive/fonts/minionpro/scripts.zip ftp://dante.ctan.org/tex-archive/fonts/minionpro/enc-2.000.zip ftp://dante.ctan.org/tex-archive/fonts/minionpro/metrics-base.zip
unzip scripts.zip
cp /opt/acrobat/Resource/Font/MinionPro* otf
./convert.sh
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/fonts/type1/adobe/MinionPro
sudo cp pfb/*.pfb `kpsexpand '$TEXMFLOCAL'`/fonts/type1/adobe/MinionPro
sudo unzip -d `kpsexpand '$TEXMFLOCAL'` metrics-base.zip
sudo unzip -d `kpsexpand '$TEXMFLOCAL'` enc-2.000.zip
sudo texhash
sudo updmap-sys --enable Map MinionPro.map
documentation:
acroread `kpsexpand '$TEXMFLOCAL'`/doc/latex/MinionPro/MinionPro.pdf
MnSymbol CTAN archive
wget ftp://tug.ctan.org/pub/tex-archive/fonts/mnsymbol.zip
unzip mnsymbol.zip
cd mnsymbol/tex
latex MnSymbol.ins
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/tex/latex/MnSymbol
sudo cp MnSymbol.sty `kpsexpand '$TEXMFLOCAL'`/tex/latex/MnSymbol
cd ..
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/fonts/source/public/MnSymbol
sudo cp -R source/* `kpsexpand '$TEXMFLOCAL'`/fonts/source/public/MnSymbol
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/doc/latex/MnSymbol
sudo cp MnSymbol.ps MnSymbol.pdf README `kpsexpand '$TEXMFLOCAL'`/doc/latex/MnSymbol
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/fonts/map/dvips/MnSymbol
sudo cp enc/MnSymbol.map `kpsexpand '$TEXMFLOCAL'`/fonts/map/dvips/MnSymbol
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/fonts/enc/dvips/MnSymbol
sudo cp enc/*.enc `kpsexpand '$TEXMFLOCAL'`/fonts/enc/dvips/MnSymbol
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/fonts/type1/public/MnSymbol
sudo cp pfb/*.pfb `kpsexpand '$TEXMFLOCAL'`/fonts/type1/public/MnSymbol
sudo mkdir -p `kpsexpand '$TEXMFLOCAL'`/fonts/tfm/public/MnSymbol
sudo cp tfm/* `kpsexpand '$TEXMFLOCAL'`/fonts/tfm/public/MnSymbol
sudo texhash
sudo updmap-sys --enable MixedMap MnSymbol.map
Myriad:
cp /opt/acrobat/Resource/Font/MyriadPro-* otf/
./convert.sh
wget faq.ktug.or.kr/wiki/uploads/MyriadProAR7.pdf faq.ktug.or.kr/wiki/uploads/MyriadProAR7.zip
mkdir myriad
cd myriad
unzip ../MyriadProAR7.zip
mv fonts/tfm/Adobe fonts/tfm/adobe
mv fonts/type1/Adobe fonts/type1/adobe
mkdir fonts/enc
mv dvips fonts/enc/
mkdir -p fonts/map/dvips/Myriad
mv fonts/enc/dvips/MyriadPro/MyriadPro.map fonts/map/dvips/Myriad/
cp ../pfb/MyriadPro-* fonts/type1/adobe/MyriadPro
sudo cp -R * `kpsexpand '$TEXMFLOCAL'`
sudo texhash
sudo updmap-sys --enable Map MyriadPro.map
In LaTeX file:
\usepackage[T1]{fontenc}
\usepackage{textcomp}
% Minion and Myriad fonts
\usepackage[minionint,mathlf]{MinionPro}
\renewcommand{\sfdefault}{Myriad-LF}
13 comments:
Thx for this. It was very helpful in installing MnSymbol. :)
Glad it helped you!
Thanks a lot, wonderful guide!
Hey, small problem.
I have installed lcdf but otfinfo gives me an error:
mike@speedbuntu:/opt/acrobat/Resource/Font/MinionPro$ sudo apt-get install lcdf-typetools
Reading package lists... Done
Building dependency tree
Reading state information... Done
lcdf-typetools is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
mike@speedbuntu:/opt/acrobat/Resource/Font/MinionPro$ otfinfo -v /opt/acrobat/Resource/Font/MinionPro-Regular.otf
otfinfo: /opt/acrobat/Resource/Font/MinionPro-Regular.otf: No such file or directory
Any ideas?
billynomates, that indicates you have installed otfinfo correctly, but the path to the Acrobat reader is wrong.
Are you sure you've installed a current version of the Acrobat reader into /opt/acrobat?
You might also want to check where the acroread executable resides using "which acroread".
Thank you so much for posting this. After half a day of wasted time, these instructions got the job done in 5 minutes!
Have you checked for ligatures (e.g. ff, fi, ffi, ffj etc.)? They don't seem to work for Myriad. For which also some glyphs (e.g inverse '!' and '?') are wrong. The reason might be, that this MyriadPro package is - more or less - a MinionPro package with some file names exchanged ...
With recent versions of XeLaTeX and the fontspec package any OpenType font can be used directly in LaTeX, i.e. without going through the pain of generating font metrics and installing those in a local texmf tree. The fontspec documentation contains many examples on how to get it working (it's easy).
Thanks so much for this guide. It was a huge help.
The MyriadPro package is troublesome. In addition to the ligatures not working, the .map files also rewrite some national characters to make the ligatures work, thus breaking the T1 encoding ;). Particularly the \tcaron (or \tquoteright).
I also needed to run this:
updmap-sys --enable Map MinionPro.map
Very helpful for me, nice improvement for my students!
If I use "sudo updmap-sys" doesn't work. If I use "updmap" instead, it works!
Thank a lot, again.
Thx for the tut. I did everything as described but got an missing font error.
mktexpk --mfmode / --bdpi 600 --mag 0+597/600 --dpi 597 MinionPro-Bold-Base-a
I am using sublime editor with texlive on Xubuntu 12.04
Can you help me?
Post a Comment