[OS X TeX] typewriter math font
Bruno Voisin
bvoisin at mac.com
Sun Jul 29 23:28:26 CEST 2007
Le 29 juil. 07 à 17:33, Doris Wagner a écrit :
> thanks for the advice, but -- although I did everything like you
> wrote -- it does not function.
> I compared my directories with yours, and wondered where your pfb-
> files are?
> In my folder .../fonts/type1/wolfram are now pfa AND pfb files, is
> this how it is meant to be?
Either should be enough, i.e. either pfa or pfb. On my setup I've
only pfa files, and being on tight schedule I'm not really willing to
experiment with pfb at the moment.
> this is what my texshop-console is talking about when I run my
> minimal file:
>
> ### This is /usr/local/texlive/2007/bin/powerpc-darwin/simpdftex,
> Version $Revision: 2.18 $
> ### /usr/local/texlive/2007/bin/powerpc-darwin/latex mathematica.tex
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
> [...]
> (see the transcript file for additional information)
> Output written on mathematica.dvi (1 page, 904 bytes).
> Transcript written on mathematica.log.
> ### /usr/local/texlive/2007/bin/powerpc-darwin/dvips -R -Poutline -
> o /tmp/altpdflatex.6318-1185722763/mathematica.ps mathematica.dvi
> This is dvips(k) 5.96 Copyright 2005 Radical Eye Software
> (www.radicaleye.com)
> ' TeX output 2007.07.29:1726' -> /tmp/altpdflatex.6318-1185722763/
> mathematica.ps
> kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600
> --dpi 600 Mathematica1
> mktexpk: don't know how to create bitmap font for Mathematica1.
> kpathsea: Appending font creation commands to missfont.log.
> /usr/local/texlive/2007/bin/powerpc-darwin/dvips: Font Mathematica1
> not found, using cmr10 instead.
> kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 0
> +420/600 --dpi 420 Mathematica1
> mktexpk: don't know how to create bitmap font for Mathematica1.
> /usr/local/texlive/2007/bin/powerpc-darwin/dvips: Font Mathematica1
> not found, using cmr10 instead.
> kpathsea: Running mktexpk --mfmode ljfour --bdpi 600 --mag 1+0/600
> --dpi 600 Mathematica2
> mktexpk: don't know how to create bitmap font for Mathematica2.
> /usr/local/texlive/2007/bin/powerpc-darwin/dvips: Font Mathematica2
> not found, using cmr10 instead.
> /usr/local/texlive/2007/bin/powerpc-darwin/dvips: ! invalid char
> 217 from font Mathematica2
> ### FAILED to generate /tmp/altpdflatex.6318-1185722763/
> mathematica.ps ()
Here's what I get with pdfTeX:
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
[...]
(see the transcript file for additional information){/usr/local/
texlive/2007/te
xmf-dist/fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2007/../
texmf-local/fo
nts/type1/wolfram/Mathematica1.pfa></usr/local/texlive/2007/../texmf-
local/font
s/type1/wolfram/Mathematica1Mono.pfa></usr/local/texlive/2007/../
texmf-local/fo
nts/type1/wolfram/Mathematica2.pfa></usr/local/texlive/2007/../texmf-
local/font
s/type1/wolfram/Mathematica2Mono.pfa></usr/local/texlive/2007/texmf-
dist/fonts/
type1/urw/courier/ucrr8a.pfb></usr/local/texlive/2007/texmf-dist/
fonts/type1/ur
w/courier/ucrro8a.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/
urw/times
/utmr8a.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/urw/times/
utmri8a.p
fb>
Output written on wolftest.pdf (1 page, 42328 bytes).
Transcript written on wolftest.log.
and with TeX + GhostScript:
### This is /usr/texbin/simpdftex, Version $Revision: 2.18 $
### /usr/texbin/latex wolftest.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
[...]
(see the transcript file for additional information)
Output written on wolftest.dvi (1 page, 904 bytes).
Transcript written on wolftest.log.
### /usr/texbin/dvips -R -Poutline -o /tmp/altpdflatex.
402-1185731802/wolftest.ps wolftest.dvi
This is dvips(k) 5.96 Copyright 2005 Radical Eye Software
(www.radicaleye.com)
' TeX output 2007.07.29:1956' -> /tmp/altpdflatex.402-1185731802/
wolftest.ps
<tex.pro><8r.enc><texps.pro>. <ucrr8a.pfb><Mathematica1Mono.pfa>
<Mathematica2Mono.pfa><ucrro8a.pfb><utmr8a.pfb><Mathematica1.pfa>
<Mathematica2.pfa><utmri8a.pfb>[1]
### ps2pdf13 /tmp/altpdflatex.402-1185731802/wolftest.ps /tmp/
altpdflatex.402-1185731802/wolftest.pdf
### Copying/moving pdf file /tmp/altpdflatex.402-1185731802/
wolftest.pdf to wolftest.pdf
### Succesfully generated wolftest.dvi and wolftest.pdf
Two things:
- One difference is that your binaries are reported by full path such
as /usr/local/texlive/2007/bin/powerpc-darwin/latex while mine are
reported using the texdist structure such as /usr/texbin/latex. This
might indicate a misconfiguration of your whole TeX setup.
- Did you really used updmap as required? With a standard MacTeX
install, you should either put all the files (fonts, support files
etc.) inside ~/Library/texmf/ then run
sudo updmap-sys --enable Map wolfram.map
or inside /usr/local/texlive/texmf-local/ then run
sudo -H updmap-sys --enable Map wolfram.map
What does the following report in your case
kpsewhich psfonts.map
And when you open this psfonts.map in a text editor does it contains
lines such as
Mathematica1 Mathematica1 <Mathematica1.pfa
If it doesn't, then something went wrong when running updmap(-sys). A
very likely cause would be a mixture of per-user and system-wide
setups, resulting in any of the following files being present
~/Library/texmf/tex/generic/config/language.dat
~/Library/texmf/fonts/map/dvipdfm/updmap/dvipdfm.map
~/Library/texmf/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
~/Library/texmf/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
~/Library/texmf/fonts/map/dvips/updmap/builtin35.map
~/Library/texmf/fonts/map/dvips/updmap/download35.map
~/Library/texmf/fonts/map/dvips/updmap/ps2pk.map
~/Library/texmf/fonts/map/dvips/updmap/psfonts.map
~/Library/texmf/fonts/map/dvips/updmap/psfonts_pk.map
~/Library/texmf/fonts/map/dvips/updmap/psfonts_t1.map
~/Library/texmf/fonts/map/pdftex/updmap/pdftex.map
~/Library/texmf/fonts/map/pdftex/updmap/pdftex_dl14.map
~/Library/texmf/fonts/map/pdftex/updmap/pdftex_ndl14.map
~/Library/texmf/web2c/updmap.cfg
~/Library/texmf/web2c/fmtutil.cnf
~/Library/texmf/web2c/*.log
~/Library/texmf/web2c/*.fmt
If you've not willingly modified your TeX installation to allow per-
user setups (i.e. map files, formats specific to each user), then
having any of the above files would indicate a faulty installation.
If so, I recommend deleting the above .map files then rerunning
updmap-sys.
But there's another possible cause too: the file wolfram.map provided
as part of the support files by Jens-Peer Kuska seems faulty, it
contains reference to a mixture of pfa and pfb files, for example
Mathematica1 Mathematica1 <Mathematica1.pfa
Mathematica2 Mathematica2 <Mathematica2.pfa
Mathematica3 Mathematica3 <Mathematica3.pfb
Mathematica4 Mathematica4 <Mathematica4.pfb
Mathematica5 Mathematica5 <Mathematica5.pfa
Mathematica6 Mathematica6 <Mathematica6.pfa
Mathematica7 Mathematica7 <Mathematica7.pfa
I would recommend choosing either pfa or pfb font files, then editing
wolfram.map accordingly, and then re-running updmap-sys.
Hope this works,
Bruno Voisin
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list