[OS X TeX] using MinionPro

Herbert Schulz herbs at wideopenwest.com
Sun Jun 17 22:00:13 CEST 2012


On Jun 17, 2012, at 2:55 PM, Murray Eisenberg wrote:

> On Sat, 16 Jun 2012 Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
> On Jun 16, 2012, at 3:37 PM, Murray Eisenberg wrote:
> > On 6/16/12 3:00 PM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> >
> >> On Jun 16, 2012, at 10:45 AM, Murray
> >> Eisenberg wrote:
> >>>>  I'm getting "gsftopk: fatal: map file `psfonts.map' not found" error when I try to typeset with MinionPro fonts in the following minimal test document:
> >>>>
> >>>>    \documentclass{article}
> >>>>    \usepackage{MinionPro}
> >>>>    \begin{document}
> >>>>    Hello, Minion Pro!
> >>>>    \end{document}
> >>>>
> >>>>  To prepare, I followed the procedure in the MinionPro README file at CTAN (e.g.:http://ctan.gladstone-tech.com/fonts/minionpro/README). This includes copying the existing .otf files into a temporary directory and using the convert.sh script to produce the Type1 fonts (with lcdf doing the work). The conversion did give some warning messages about alternate ways of creating some curves, but did proceed to complete the conversion.
> >>>>
> >>>>  Still following the README instructions, I moved these into a fonts/type1/adobe/MinionPro subfolder of my local texmf -- which is:
> >>>>
> >>>>    ~/Library/texmf
> >>>>
> >>>>  I moved the rest of the relevant files -- tfm's, vf's, enc's, and MinionPro.map -- into the appropriate locations in ~/Library/texmf/fonts.
> >>>>
> >>>>  I appended to ~/Library/texmf/web2c/updmap.cfg the line:
> >>>>
> >>>>    Map MinionPro.map #localtexmf/dvips/MinionPro/MinionPro.map
> >>>>
> >> Howdy,
> >>
> >> I assume you are using MacTeX-2012 pretest since earlier versions of TeX Live didn't accept multiple updmap.cfg files.
> >>
> >> Remove that ``comment'' --- I was mistaken.
> >>
> >>>>  And of course I executed:
> >>>>
> >>>>    sudo mktexlsr
> >>>>    sudo updmap-sys
> >>>>
> >> Well, you must use updmap instead of updmap-sys if you are using TeX Live 2012 installed via the MacTeX-2012 pretest.
> >>
> >> You are caught in a catch-22. You must use TeX Live 2012 pretest if you want to use a updmap.cfg file in ~/Library/texmf/web2c. And using TeX Live 2012 pretest also means you must use updmap rather than updmap-sys to include the map file. Also note that while you use
> >>
> >> sudo updmap-sys
> >>
> >> because that writes to folders that are owned by root you need to use
> >>
> >> updmap
> >>
> >> for personal fonts.
> >>
> >> For TeX Live 2011 or earlier you should run
> >>
> >> sudo updmap-sys --enable Map=Minionpro.map
> >>
> >> which will then include the Minionpro.map file in the system level map.
> >
> > No, I am still using texlive _2011_.
> >
> > And my procedure for adding fonts in ~/Library/texmf has been to edit ~/Library/texmf/web2c/updmap.cfg, then run " sudo mktexlsr" followed by "sudo updmap-sys". This worked, e.g., for installing in ~/Library/texmf the Lucida Type1 fonts from TUG and the MathTimePro 2 Type1 fonts from Personal TeX.
> >
> 
> 
> > My impression was that using ~/Library/texmf/web2c/updmap.cfg was a >
> > 2012 thing.
> 
> > First: there is no need to run `sudo mktexlsr` for changes in your
> > personal tree since that tree gets searched directly rather than via > an ls-R file. Take a look at the output of the command.
> 
> > Second: please try to run
> 
> > sudo updmap-sys --enable Map=Minionpro.map
> 
> > and let's take a look at the output. From then on it should work.
> 
> > ...One more thing... did you ever run `updmap`? That will be
> > necessary if you keep fonts in your personal tree  under TL2012 but
> > with TL2011 `updmap-sys` will work fine UNLESS you ran `updmap`, or
> > worse `sudo updmap`, at some point since you then created a system
> > map file in your home configuration tree. If you did that you should
> > have a ~/Library/texlive/2011/texmf-config directory which you will
> > have to trash and then see if it all works.
> 
> Yes, I do have a  ~/Library/texlive/2011/texmf-config directory -- AND a
> ~/Library/texlive/2011/texmf-var directory. And YES, I did at some time months ago run 'updmap' or possibly even 'sudo 'updmap' as I struggled to try to comprehend how the whole process of integrating new font maps worked.
> 
> Should I delete _both_ of those local directories before using
> 
>  sudo updmap-sys
> 
> with TeXLive 2011?
> 

No need to do both. But deleting the texmf-config should do it. Blowing away both shouldn't hurt anything either; they rebuilt if needed.

Once you go over to MacTeX-2012 you will NEED to run `updmap` since `updmap-sys` will no longer look at your personal tree.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list