On Wed, 17 May 2006, Hans Hagen wrote:

> Aditya Mahajan wrote:
>> The problem of "cannot open font map file" is still there. I deleted
>> all existing context trees from my computer and downloaded the
>> mswincontext.zip (dt. 2006-05-17) from Pragma's website. When I run a
>> simple
>> \starttext Hello World \stoptext
>> file, I get
>> ----------------------
>> [1.1
>> Warning: pdfetex.exe (file original-empty.map): cannot open font map
>> file
>>
>> Warning: pdfetex.exe (file original-base.map): cannot open font map
>> file
>>
>> Warning: pdfetex.exe (file ec-public-lm.map): cannot open font map
>> file
>>
>> Warning: pdfetex.exe (file ec-base.map): cannot open font map file
>>
>> Warning: pdfetex.exe (file original-ams-base.map): cannot open font
>> map file
>>
>> Warning: pdfetex.exe (file original-ams-euler.map): cannot open font
>> map file
>>
>> Warning: pdfetex.exe (file original-public-lm.map): cannot open font
>> map file
>> ]
>> systems         : end file test1 at line 3
>>   )
>> Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 600 not found
>> ------------------------
>>
>> The resulting pdf has no embedded fonts.
>>
>> All these map files are located in texmf-local/fonts/map/pdftex/context/
>> I checked the texmf.cnf at texmf-local/web2c and it says
>>
> here i get for
>
> \starttext test \stoptext:
>
> (f:\minimal\isoimage\usr\local\context\tex\texmf-local/tex/context/base/pdfr-ec
> .tex)
> [1.1{f:\minimal\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdft
> ex/context/original-empty.map}{f:\minimal\isoimage\usr\local\context\tex\texmf-
> local/fonts/map/pdftex/context/original-base.map}{f:\minimal\isoimage\usr\local
> \context\tex\texmf-local/fonts/map/pdftex/context/ec-public-lm.map}{f:\minimal\
> isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/context/ec-base.map
> }{f:\minimal\isoimage\usr\local\context\tex\texmf-local/fonts/map/pdftex/contex
> t/original-ams-base.map}{f:\minimal\isoimage\usr\local\context\tex\texmf-local/
> fonts/map/pdftex/context/original-ams-euler.map}{f:\minimal\isoimage\usr\local\
> context\tex\texmf-local/fonts/map/pdftex/context/original-public-lm.map}]
> systems         : end file test at line 3
> ){f:\minimal\isoimage\usr\local\context\tex\texmf/fonts/enc/dvips/lm/lm-ec.enc
> }<f:\minimal\isoimage\usr\local\context\tex\texmf/fonts/type1/public/lm/lmr12.p
> fb>
> Output written on test.pdf (1 page, 23324 bytes).
>
> did you run setuptex.bat beforehand?


Yes, I did. I do not keep texmfstart in my path to prevent running 
context without sourcing setuptex.

I also tried this by running, cscite.bat and compiling the file 
through scite. I get the same error message.

Is it possible that the wrong texmf.cnf is loaded (as Taco pointed 
out). There is one at texmf/web2c also. setuptex sets TEXMFCNF to

F:\tmp\mp>echo %TEXMFCNF%
E:\isoimage\usr\local\context\tex\texmf{-local,}/web2c

I changed that to
.......\tex\texmf-local\web2c, but still get the same error.


Context can locate the files

F:\tmp\mp>texmfstart --locate original-empty.map
E:/isoimage/usr/local/context/tex/texmf-local/fonts/map/dvipdfm/context/original
empty.map

but can not open it. I even tried a chmod 755 -R isoimage, but that 
did not help.

How can I debug why pdfetex is not able to *open* the map files?

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to