[OS X TeX] MinionPro on MacTeX 2012
Theo Moore
tsgmoore at gmail.com
Fri Feb 15 10:37:32 EST 2013
On Fri, Feb 15, 2013 at 3:06 PM, Theo Moore <tsgmoore at gmail.com> wrote:
> On Feb 13, 2013, at 4:32 PM, Peter Dyballa <Peter_Dyballa at Web.DE> wrote:
>
>>
>> Am 13.02.2013 um 16:01 schrieb Theo Moore:
>>
>>> kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+545/600 --dpi
>>> 545 MinionPro-It-Base-ad
>>> mktexpk: don't know how to create bitmap font for MinionPro-It-Base-ad.
>>> mktexpk: perhaps MinionPro-It-Base-ad is missing from the map file.
>>
>> As mktexpk reports: the MinionPro.map file was not enabled. The TFM file was found; it belongs to TeX Live. But then no MAP file tells TeX that the font name MinionPro-It-Base-ad is related to a scalable font and therefore no bitmap font files with different resolutions need to be generated. This "translation" from the TeX font name to the corresponding vector font file and its encoding is done via the MAP file. And therefore it's quite certain that the MinionPro.map file (fragment) has not yet been enabled.
>>
>> What you can do is:
>>
>> kpsewhich MinionPro.map
>>
>> I get
>>
>> /usr/local/texlive/2012/../texmf-local/fonts/map/dvips/MinionPro/MinionPro.map
>>
>> which tells me two things (even three, actually): the file is installed outside the official distribution and it is available in TL 2012. And the third fact is that the file is in the ls-R "hash" files.
>>
>> So, maybe you forgot to run
>>
>> sudo mktexlsr
>>
>> It that's true and as a consequence kpsewhich can't find MinionPro.map, then first
>>
>> sudo updmap-sys --disable MinionPro.map
>>
>> to clean the MAP file, then run
>>
>> sudo mktexlsr
>>
>> and finally enable the MAP file fragment:
>>
>> sudo updmap-sys --enable MixedMap MinionPro.map
>>
>> If TeX then still fails to find the proper font files, then it's likely that you installed some of the package's files incorrectly. Particularly the installation root /Library/TeX/Root/texmf is wrong. Packages from outside TeX Live belong into the /usr/local/texlive/texmf-local branch. Although it's confusing that the Minion Pro TFM support files /are/ part of TL 2012.
>>
>> --
>> Greetings
>>
>> Pete
>>
>
> Dear Pete and Hebert,
>
> I am sorry but you're going to have to go slow with me. Upon typing
>
> kpsewhich MinionPro.map
>
> I get
>
> /Users/MYHOME/Library/texmf/fonts/map/dvips/MinionPro/MinionPro.map
>
> I did (probably stupidly) repeat the two lines you suggested
> sudo mktexlsr
> sudo updmap-sys --enable MixedMap MinionPro.map
>
> but they had little effect. I guess it may have to do with my
> directory structure. In any case, my head is spinning from the
> multitude of directory possibilities (should things be in
> /Library/texmf or /usr/local/texlive/2012/.../texmf-local etc.?)
>
> It would help if you could clarify what's going on.
>
> Thanks you!
A further update: I used FontPro
https://github.com/sebschub/FontPro
and with the help of this:
http://tex.stackexchange.com/questions/87557/installing-fontpro-support-for-minion-pro-myriad-pro-cronos-pro-with-mikte
and it seems to now work. I have no idea what was the problem before.
Maybe it had to do with the fact that my font files (ptb) were not
placed in the correct directory. Though I'm happy things work, it is
somewhat worrisome that I have no idea why any of it did manage to go
through.
Can someone clarify these points for me?
Where should the MInionPro.map file be placed?
Where should things like /ptb folders be placed?
I think in regards to the second point, you can see in the ./install
script of the FontPro that there is the following few lines:
if [ "x$dir" = x ]
then
dir="$(kpsewhich -expand-var='$TEXMFLOCAL')"
fi
# new directory layout (TDS v1.1)
enc_dir="$dir/fonts/enc/dvips/$font"
map_dir="$dir/fonts/map/dvips/$font"
pfb_dir="$dir/fonts/type1/$vendor/$font"
tfm_dir="$dir/fonts/tfm/$vendor/$font"
vf_dir="$dir/fonts/vf/$vendor/$font"
tex_dir="$dir/tex/latex/$font"
doc_dir="$dir/doc/latex/$font"
which seems to outline all the crucial folders you need and placed in
$TEXMFLOCAL which for me is
/usr/local/texlive/2012/../texmf-local
As for the MinionPro.map file, I still have no idea where that should
have been placed. Using
kpsewhich MinionPro.map
I get
/Users/MYHOME/Library/texmf/fonts/map/dvips/MinionPro/MinionPro.map
as usual.
More information about the MacOSX-TeX
mailing list