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.
Thanks for your time.
PS: For the record, this is a fresh (re)install of texlive on OSX plus the MinionPro package.
fontspecpackage. This is the way to go in xelatex and lualatex. – pmav99 Jan 30 '12 at 10:58updmapped. I checkedkpsewhich -progname xelatex MinionPro.mapand it returns the map file. The actual path is.../texmf-MinionPro/fonts/map/dvips/MinionPro/MinionPro.map– Koji Jan 30 '12 at 12:04texmf-MinionProtree hangs from~/Library/texmf-trees. Of course, I edited/usr/local/texlive/2011/texmf.cnfso thatTEXMFHOMEnow reads~/Library/texmf-trees//. I did it so I can plug subtrees and hot-test packages not in texlive. However,pdflatexfinds the pfb files, butxelatexdoes not. Thanks again for the suggestion. – Koji Jan 30 '12 at 12:17@Ulriketo your comments so that I get notified. Runkpsewhich dvipdfm.mapand then check what this map-file says about minionpro (and compare the entries with the entries in your pdftex.map used by pdflatex). – Ulrike Fischer Jan 30 '12 at 13:02kpsewhich dvipdfm.mapreturns nothing! Even afterupdmap --force! – Koji Jan 30 '12 at 13:05xelatex --output-driver="xdvipdfmx -vv" fileand check which map-files xdvipdfmx uses. – Ulrike Fischer Jan 30 '12 at 13:13MinionPro-Regular--lcdfj MinionPro-RegularLCDFJ " " <MinionPro-RegularLCDFJ.pfb
– Koji Jan 30 '12 at 13:50