[OS X TeX] cmr8 not in mapping file

David Arnold dwarnold45 at suddenlink.net
Fri Jan 1 00:03:47 CET 2010


Michael et al,

Michael is onto something. I followed his lead and did this:

latex --shell-escape Untitled.tex

I then opened Untitled.1 in my editor and changed:

%%DocumentFonts: cmr8 cmr10

to:

%%DocumentFonts: CMR8 CMR10

Then I ran:

dvips -o Untitled_pics.ps Untitled.dvi

No warning messages this time!

Then I did this:

ps2pdf Untitled_pics.ps

And got the file Untitled_pics.pdf which was correct! 

Now I started searching and found:

/usr/local/texlive/2009/texmf-dist/fonts/map/dvips/amsfonts/cm.map

Which has this content:

% Copyright (c) 2009 American Mathematical Society (<http://www.ams.org>).
% This Font Software is licensed under the SIL Open Font License, Version 1.1.
% This license is in the accompanying file OFL.txt, and is also
% available with a FAQ at: http://scripts.sil.org/OFL.

cmb10    CMB10    <cmb10.pfb
cmbsy10  CMBSY10  <cmbsy10.pfb
cmbx5    CMBX5    <cmbx5.pfb
...

I don't know much about these files, but it appears to be mapping the lower case names to upper case, which may be what is needed. Now, is this map file enabled? How can I tell? And if not, how can I enable it?

David.


On Dec 31, 2009, at 1:58 PM, Michael Sharpe wrote:

> 
> On Dec 31, 2009, at 1:03 PM, David Arnold wrote:
> 
>> All,
>> 
>> We have a system we've written called Optimath (http://msenux.redwoods.edu/cgi-bin/online/f09/OTlogin.cgi). With this system, the file Untitled.tex basically gets compiles with the following sequence:
>> 
>> latex --shell-escape Untitled.tex
>> dvips -o Untitled-pics.ps Untitled.dvi
>> ps2pdf Untitled-pics.ps
>> pdflatex Untitled.tex
>> 
>> It is the second command that reports this warning:
>> 
>> david-arnolds-macbook-pro-2:chapter4 darnold$ dvips -o Untitled-pics.ps Untitled.dvi
>> This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
>> ' TeX output 2009.12.31:1258' -> Untitled-pics.ps
>> dvips: Font cmr8 used in file Untitled.1 is not in the mapping file.
>> dvips: Font cmr10 used in file Untitled.1 is not in the mapping file.
>> 
>> <Untitled.tex>
>> 
>> On Dec 31, 2009, at 12:35 PM, Jean-Claude DE SOZA wrote:
>> 
>>> Bonsoir Herbert,
>>> 
>>> Le 31 déc. 2009 à 19:42, Herbert Schulz a écrit :
>>> 
>>>> 
>>>> On Dec 31, 2009, at 12:37 AM, David Arnold wrote:
>>>> 
>>>>> Michael et al,
>>>>> 
>>>>> No, I don't think this the problem, as I had the same problem with the last release of Mactex. The trouble comes when I latex the attached file, then try this:
>>>>> 
>>>>> david-arnolds-macbook-pro-2:chapter4 darnold$ dvips -o Untitled_pics.ps UntitledThis is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
>>>>> ' TeX output 2009.12.30:2235' -> Untitled_pics.ps
>>>>> dvips: Font cmr8 used in file Untitled.1 is not in the mapping file.
>>>>> dvips: Font cmr10 used in file Untitled.1 is not in the mapping file.
>>>>> 
>>>>> 
>>>>> I think I need to do some sort of update-sys and enable combination, but I cannot remember.
>>>>> 
>>>>> David.
>>>>> 
>>>>> 
>>>>> <Untitled.tex>
>>>>> 
>>>>> On Dec 30, 2009, at 9:18 PM, Michael Sharpe wrote:
>>>>> 
>>>>>> 
>>>>>> On Dec 30, 2009, at 8:55 PM, David Arnold wrote:
>>>>>> 
>>>>>>> All,
>>>>>>> 
>>>>>>> Had to reinstall Mactex. Now, when I use dvips I am getting this error:
>>>>>>> 
>>>>>>> david-arnolds-macbook-pro-2:chapter4 darnold$ dvips -Ppdf -o Untitled_pics.ps Untitled
>>>>>>> This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
>>>>>>> ' TeX output 2009.12.30:2028' -> Untitled_pics.ps
>>>>>>> dvips: Font cmr8 used in file Untitled.1 is not in the mapping file.
>>>>>>> dvips: Font cmr10 used in file Untitled.1 is not in the mapping file.
>>>>>>> 
>>>>>>> How do I enable the computer modern map again?
>>>>>> If you had to reinstall Mactex, it is likely because of some problem in your personal trees, not in the system trees. Without knowing more about your setup, the first thing to try is to remove the hidden personal tree.
>>>>>> 
>>>>>> Remove ~/.texlive2009 using
>>>>>> rm -R ~/.texlive2009
>>>>>> 
>>>>>> Then try again.
>>>>>> 
>>>>>> Michael
>>>>>> 
>>>> 
>>>> Howdy,
>>>> 
>>>> I get the same warning. However I've checked pdftex.map, dvips.map and psfonts.map and they all contain cmr8. I don't know anything about metapost so I have no idea what map file it is using.
>>>> 
>>> 
> 
> The problem is that for reasons I don't understand, metapost is referring to the document fonts by incorrect names. The line
> 
> %%DocumentFonts: cmr8 cmr10
> 
> in Untitled.1 (an eps file generated by metapost) should read
> 
> %%DocumentFonts: CMR8 CMR10
> 
> When that is changed, dvips applied to Untitled.dvi understands the font names in the input file correctly. There must be a metapost setting that controls this, but I don't know metapost.
> 
> Michael
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 




More information about the macostex-archives mailing list