Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Taco Hoekwater
Aditya Mahajan wrote:
 
 All these map files are located in texmf-local/fonts/map/pdftex/context/

Sounds good

 TEXFONTMAPS.pdftex   = .;$TEXMF/fonts/map/{pdftex,dvips,}//
 TEXFONTMAPS.pdfetex  = .;$TEXMF/fonts/map/{pdftex,dvips,}//

 TEXFONTMAPS   = 
 .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//;$TEXMF/{$progname,pdftex,dvips}/{config,}//

All three lines look fine to me as well.

Tentative conclusion: this texmf.cnf is not used or overruled elsewhere.

Perhaps there is a prior problem (running setuptex failed)?

Cheers, Taco

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Hans Hagen
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?

Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
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\mpecho %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\mptexmfstart --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


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
On Wed, 17 May 2006, Aditya Mahajan 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
 [log snipped]
 On Wed, 17 May 2006, Hans Hagen wrote:
 here i get for

 \starttext test \stoptext:
[log snipped]
 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\mpecho %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\mptexmfstart --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?

Well, there was something in the path that was interfering with 
context.

set PATH=E:\Ruby\bin
E:\isoimage\usr\local\context\tex\setuptex.bat E:\isoimage\usr\local\context\tex

works correctly. I do not know what was interfering, I'll look into 
everything in my path one by one see what was going wrong.

Sorry about all the noise.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Hans Hagen
Aditya Mahajan wrote:

 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\mpecho %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\mptexmfstart --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?
   
so, since you're running the mswin thing, how come that you have this chmod 
stuff 

(when you are on linux, you can best take the justtex.zip and linuxtex.zip 
files) 

Hans  

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
On Wed, 17 May 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:

 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\mpecho %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\mptexmfstart --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?

 so, since you're running the mswin thing, how come that you have this chmod 
 stuff

Well, I use cygwin to get all the typical unixy tools. But, it seems 
that context (and ruby) do not like cygwin. I need to do some more 
testing to see exactly what was interfering, but removing cygwin from 
the path seems to do the trick.

 (when you are on linux, you can best take the justtex.zip and linuxtex.zip 
 files)

Usually I get along well with cygwin. This is the first time that 
cygwin has bitten me back.

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


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Hans Hagen
Aditya Mahajan wrote:
 Usually I get along well with cygwin. This is the first time that 
 cygwin has bitten me back.
   
i cannot test that because i don't want cygwin on my windows machine (i use gnu 
bin tools compiled for windows when i need something unix) - whenevr i need 
something that comes with cygwin, i just take the dll + the prog (say rsync) 
and put that in its own path 

Can it be that cygwin's profile has something tex in it? leftovers from a tetex 
installation? 

Hans 


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pdfetex cannot find map files

2006-05-17 Thread Aditya Mahajan
On Wed, 17 May 2006, Hans Hagen wrote:

 Aditya Mahajan wrote:
 Usually I get along well with cygwin. This is the first time that
 cygwin has bitten me back.

 i cannot test that because i don't want cygwin on my windows machine (i use 
 gnu bin tools compiled for windows when i need something unix) - whenevr i 
 need something that comes with cygwin, i just take the dll + the prog (say 
 rsync) and put that in its own path

 Can it be that cygwin's profile has something tex in it? leftovers from a 
 tetex installation?

cygwin has texinfo and I can not remove it because of dependencies. If 
I remove cygwin from the path (and use native windows' ruby) context 
works fine. I still have the old problem with metapost and windows' 
ruby. texexec --mptex does not work correctly. However, when I wrap 
the metapost examples in a \startstop MPpage in a tex file, they work 
fine.

So, I have a working system though something is still wrong with the 
rubies. Cygwin ruby processes metapost files correctly, but not tex 
file. Windows ruby processes tex file correctly but not metapost. I 
will stick to the windows ruby, and use metapost from inside a tex 
file.

I think that I need to do a fresh install of windows. But that will 
have to wait. At present context is working :)

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