[Tex/LaTex] installing MinionPro font on latex, some problems

fontsinstallingminionpro

I wanted to install the MinionPro font for Latex (I obtained them via the free Adobe Reader). I found a description here which seemed reasonably easy (for a noob like me):

http://www.clarkdonley.com/blog/2015-03-07-installing-minionpro-for-latex-on-mac-os-x-yosemite.html

In order to use the FontPro I need the so-called LCDF Typetools, so I downloaded this:

http://www.lcdf.org/type/

Here already I have a problem since I get the following error when I try to configure these lcdf typetools:

==============

I can't find the kpathsea library and/or header files. Tell me where to look
using the –with-kpathsea=PREFIX option (header files should be under
PREFIX/include/kpathsea, and library under PREFIX/lib), or disable support
using –without-kpathsea.

==============

So where to find this kpathsea library? I also tried to just forget about this and follow the steps of FontPro, but then I get stuck at step 4 when I run the makeall MinionPro script.

Eventually I just want to be able to include \usepackage{MinionPro} in my Latex files and use the MinionPro font.

Any help is welcome (keep it understandable for me though, probably you have noticed that I don't understand much of this stuff)! Thanks in advance.


The error I get (using FontPro):

AYK-3:scripts ayasirkilic$ ./makeall MinionPro
Chosen font family is MinionPro
otfinfo: otf/MinionPro-Regular.otf: No such file or directory
otfinfo: otf/*otf: No such file or directory
Found font version
No matching glyph list found
Please run "scripts/generate-glyph-list.sh > scripts/MinionPro-glyph-list-" after this script and use the resulting file with a clean script folder
cp: directory enc does not exist
cp: directory fontinst does not exist
cp: directory kerning does not exist
Creating PostScript fonts ...
cfftot1: otf/MinionPro*.otf: No such file or directory
./makeall: line 69: 10306 Segmentation fault: 11  t1dotlessj --quiet "$base.pfb" "${base}LCDFJ.pfb"
Creating TeX metrics ...
Can't open perl script "scripts/filtererr": No such file or directory
./makeall: line 92: scripts/maketfm: No such file or directory
mv: rename *.pfb to pfb/*.pfb: No such file or directory
maketfm failed, exiting ...

AYK

Best Answer

Follow ONLY steps 1-4 from the linked instructions. Steps 5-6 and 8 are simply wrong. Step 9 is pointless and step 7 is inefficient.

Instead, after completing step 4, do this:

./scripts/install $(kpsewhich -var TEXMFLOCAL)  
mkdir -p --parents $(kpsewhich -var TEXMFLOCAL)/web2c
echo Map MinionPro.map >> $(kpsewhich -var TEXMFLOCAL)/web2c/updmap.cfg
mktexlsr $(kpsewhich -var TEXMFLOCAL)
updmap-sys

If you are on Mac OS X and have not enabled root and are using a default MacTeX installation, you'll have to prefix every step with sudo or run sudo sh to get a privileged shell before you start.

Note that this is not tested as I do not use FontPro and am not using a Mac. I'm assuming that the instructions are basically right about how FontPro works. Given they are not reliable on how TeX Live works, this may not be a safe assumption.

Caveat emptor...