# pdflatex/xelatex problems with MinionPro

I am successfully using package MinionPro for pdflatex. I would like to use it also in xelatex (the math part, actually), so that I can add opentype features to the main text font. However, I am hitting a wall here. Take this simple test file:

\documentclass{minimal}
\usepackage{MinionPro}
\begin{document}
Test.
\end{document}


A run with pdflatex works perfectly. But xelatex chokes on the same thing:

(/usr/local/texlive/2011/texmf-dist/tex/latex/base/ts1cmr.fd) [1] (./test2.aux)

kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 MinionPro-RegularLCDFJ.pfb
mktexpk: don't know how to create bitmap font for MinionPro-RegularLCDFJ.pfb.
mktexpk: perhaps MinionPro-RegularLCDFJ.pfb is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.

** WARNING ** Could not locate a virtual/physical font for TFM "MinionPro-Regular--lcdfj".
** WARNING ** >> This font is mapped to a physical font "MinionPro-RegularLCDFJ.pfb".
** WARNING ** >> Please check if kpathsea library can find this font: MinionPro-RegularLCDFJ.pfb
** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...

Output file removed.
)
Error 256 (driver return code) generating output;
file test2.pdf may not be valid.
Transcript written on test2.log.


I don't quite get why xelatex would need pk fonts in the first place, but I really need help in this one.

PS: For the record, this is a fresh (re)install of texlive on OSX plus the MinionPro package.

-
For xelatex you should try installing the minion fonts on your system + using the excellent fontspec package. This is the way to go in xelatex and lualatex. – pmav99 Jan 30 '12 at 10:58
Indeed. But minion fonts+fontspec won't give math support for minion, which is what I am looking for here. – Koji Jan 30 '12 at 11:01
xelatex is trying to make pk fonts as last resort because it doesn't find a map entry (pdflatex does this too if a map entry is missing). How did you install the package and enabled the map-files? – Ulrike Fischer Jan 30 '12 at 11:53
as per instructions, and updmapped. I checked kpsewhich -progname xelatex MinionPro.map and it returns the map file. The actual path is .../texmf-MinionPro/fonts/map/dvips/MinionPro/MinionPro.map – Koji Jan 30 '12 at 12:04
– Koji Jan 30 '12 at 13:25

Your output from the xelatex compilation shows that xdvipdfmx in texlive uses the pdftex.map. It also shows that the map-entries for the minionpro fonts are in the map. The error/pk-generation happens because xelatex doesn't find the real pfb-font (MinionPro-RegularLCDFJ.pfb) mentioned in the map entry.