Closed Jmuccigr closed 9 years ago
I've no idea of OS X so the following might not be completely correct:
You installed into a user folder but used updmap-sys
, which uses only system-wide available folders I think. So updmap --enable Map=MinionPro.map
should do the trick. Please be aware that new system-wide settings with updmap-sys
probably do not overwrite these current settings with updmap
for your user. Furthermore, ~/Library/texmf/
has to be known to the TeX system: kpsewhich -expand-var='$TEXMFHOME'
should point to it, I guess.
OK, that helped.
kpsewhich -expand-var='$TEXMFHOME'
points to /Users/username/Library/texmf.
Running updmap
instead of updmap-sys
gave different output (see below).
The .dvi output for the text file looks good, and pdflatex produces a pdf. :-) pandoc however still barfs with this:
! Font T1/MinionPro-OsF/m/n/17.28=MinionPro-Subh-osf-t1 at 17.28pt not loadable
: Metric (TFM) file not found.
<to be read again>
relax
l.28
pandoc: Error producing PDF from TeX source
and it generates a missfont.log file:
mktextfm MinionPro-Subh-osf-t1
mktextfm MinionPro-Subh-osf-t1
Here's the output for the test file given above:
updmap is using the following updmap.cfg files (in precedence order):
/usr/local/texlive/2014/texmf-config/web2c/updmap.cfg
/usr/local/texlive/2014/texmf-dist/web2c/updmap.cfg
updmap is using the following updmap.cfg file for writing changes:
/Users/john_muccigrosso/Library/texlive/2014/texmf-config/web2c/updmap.cfg
Creating new config file /Users/john_muccigrosso/Library/texlive/2014/texmf-config/web2c/updmap.cfg
dvips output dir: "/Users/john_muccigrosso/Library/texlive/2014/texmf-var/fonts/map/dvips/updmap"
pdftex output dir: "/Users/john_muccigrosso/Library/texlive/2014/texmf-var/fonts/map/pdftex/updmap"
dvipdfmx output dir: "/Users/john_muccigrosso/Library/texlive/2014/texmf-var/fonts/map/dvipdfmx/updmap"
updmap is creating new map files
using the following configuration:
LW35 font names : URWkb (/usr/local/texlive/2014/texmf-dist/web2c/updmap.cfg)
prefer outlines : true (/usr/local/texlive/2014/texmf-dist/web2c/updmap.cfg)
texhash enabled : true
download standard fonts (dvips) : true (/usr/local/texlive/2014/texmf-dist/web2c/updmap.cfg)
download standard fonts (pdftex) : true (/usr/local/texlive/2014/texmf-dist/web2c/updmap.cfg)
kanjiEmbed replacement string : noEmbed (/usr/local/texlive/2014/texmf-dist/web2c/updmap.cfg)
kanjiVariant replacement string : (default)
create a mapfile for pxdvi : false (default)
Scanning for LW35 support files [ 3 files]
Scanning for MixedMap entries [ 45 files]
Scanning for KanjiMap entries [ 6 files]
Scanning for Map entries [225 files]
Generating output for dvipdfmx...
Generating output for ps2pk...
Generating output for dvips...
Generating output for pdftex...
Files generated:
/Users/john_muccigrosso/Library/texlive/2014/texmf-var/fonts/map/dvips/updmap:
15838 2015-03-30 09:41:07 builtin35.map
21311 2015-03-30 09:41:07 download35.map
1185403 2015-03-30 09:41:08 psfonts_pk.map
1454612 2015-03-30 09:41:08 psfonts_t1.map
1449105 2015-03-30 09:41:07 ps2pk.map
14 2015-03-30 09:41:09 psfonts.map -> psfonts_t1.map
/Users/john_muccigrosso/Library/texlive/2014/texmf-var/fonts/map/pdftex/updmap:
1449112 2015-03-30 09:41:09 pdftex_dl14.map
1447447 2015-03-30 09:41:09 pdftex_ndl14.map
15 2015-03-30 09:41:09 pdftex.map -> pdftex_dl14.map
/Users/john_muccigrosso/Library/texlive/2014/texmf-var/fonts/map/dvipdfmx/updmap:
6185 2015-03-30 09:41:07 kanjix.map
WARNING: you are switching to updmap's per-user mappings.
You have run updmap (as opposed to updmap-sys) for the first time; this
has created configuration files which are local to your personal account.
Any changes in system map files will *not* be automatically reflected in
your files; furthermore, running updmap-sys will no longer have any
effect for you. As a consequence, you have to rerun updmap yourself
after any change in the system directories; for example, if a new font
package is added.
If you want to undo this, remove the files mentioned above.
(Run updmap --help for full documentation of updmap.)
Transcript written on "/Users/john_muccigrosso/Library/texlive/2014/texmf-var/web2c/updmap.log".
updmap: Updating ls-R files.
I've no idea of pandoc. So I cannot help you with it. However, ! Font T1/MinionPro-OsF/m/n/17.28=MinionPro-Subh-osf-t1 at 17.28pt not loadable
might give a hint. Do you have the different optical sizes of Minion Pro? Subh(ead) is one of them. If no, there has to be the opticals
option somewhere when loading the package.
Do you have the different optical sizes of Minion Pro?
I'm not sure how I can tell which optical sizes I have. The otf files I have for MinionPro are from my Adobe Reader app:
MinionPro-Bold.otf
MinionPro-BoldIt.otf
MinionPro-It.otf
MinionPro-Regular.otf
If no, there has to be the opticals option somewhere when loading the package.
Do you mean I should use the opticals option? If so, how do I do that?
Thanks for the help!
Ok, so you don't have the additional optical sizes. So you must not use the opticals
option. However, the error message involving MinionPro-Subh-osf-t1
looks like the opticals
option is used, I would expect somewhere something like \usepackage[opticals]{MinionPro}
. Now, I've no clue of pandoc so I cannot give advice where to look for it.
Hmmm, I can't figure out from the pandoc default latex format file where that is. Going to ask over there and see what I can learn. Ultimately I'll probably make my own format files, but I'm not that far along yet.
I'll keep you posted.
(All this on the assumption that I can't get the optical versions without ponying up more money than I'd like. :-) )
Figured it out. Stupid error on my part, not undoing an earlier change to test something else.
TeX noob, and I've been trying to get the MinionPro fonts installed on OS X. Finally made my way here.
I install with
./scripts/install ~/Library/texmf/
to use the HOME instead of LOCAL folder. All seems to go well until:If I just try it again right away:
It's not clear to me that it worked, but if I try to use pandoc to generate a pdf, I get:
Trying something else, I latex the following test file:
Among the output files is missfont.log, which reads: