Dear ConTeXt users, Yesterday I reinstalled the minimal ConTeXt under Windows XP. I carried out the following steps: 1. Rename the old directory C:\tex into C:\old_tex 2. Download mswintex.zip from Pragma 3. Unzip into C:\ (all files and directories are now under C:\tex) 4. Start a CMD shell and run the commands: > cd c:\tex > setuptex.bat > mktexlsr > texexec --make --alone nl en metafun Then I tried a minimal example and it gave me the following warnings: [1.1 Warning: pdfetex.exe (file pdftex.map): cannot open font map file ] and, in the end: Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found What did I do wrong? Sytse Knypstra
Hi Sytse, You made a complete new installation of the minimal ConTexT. - What you also should do is update the lm-fonts with the zip you can find at the Pragma-site. I believe that this can solve your problem. At least in my case I updated the cont-tmf.zip and cont-lmt.zip into an existing minimal ConTeXt (an instllation which is about 2 months old) and it worked out of the box. Kind regards Willi Sytse Knypstra wrote:
Dear ConTeXt users,
Yesterday I reinstalled the minimal ConTeXt under Windows XP. I carried out the following steps:
1. Rename the old directory C:\tex into C:\old_tex 2. Download mswintex.zip from Pragma 3. Unzip into C:\ (all files and directories are now under C:\tex) 4. Start a CMD shell and run the commands:
cd c:\tex setuptex.bat mktexlsr texexec --make --alone nl en metafun
Then I tried a minimal example and it gave me the following warnings:
[1.1 Warning: pdfetex.exe (file pdftex.map): cannot open font map file ] and, in the end:
Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found
What did I do wrong?
Sytse Knypstra
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Dear Context users, Willi, thank you for your reaction. I redid the whole process in which I inserted your instructions. In detail: 1. Rename the old directory C:\tex into C:\old_tex 2. Download mswintex.zip from Pragma 3. Unzip into C:\ (all files and directories are now under C:\tex) 4. Download cont-lmt.zip from Pragma 5. Unzip into C:\ 6. Start a CMD shell and run the commands: > cd c:\tex > setuptex.bat > mktexlsr > texexec --make --alone nl en metafun Then I tried a minimal example (\starttekst Test \stoptekst) and again this gave the following output: ... systems : begin file test at line 1 (c:\tex\texmf-local/tex/context/base/pdfr-ec.tex) fonts : needs map file: original-base fonts : needs map file: ec-public-lm fonts : needs map file: ec-base [1.1 Warning: pdfetex.exe (file pdftex.map): cannot open font map file ] systems : end file test at line 5 ) ... Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found Output written on test.pdf (1 page, 2019 bytes). Still puzzled. Sytse Knypstra Willi Egger wrote:
Hi Sytse,
You made a complete new installation of the minimal ConTexT. - What you also should do is update the lm-fonts with the zip you can find at the Pragma-site. I believe that this can solve your problem. At least in my case I updated the cont-tmf.zip and cont-lmt.zip into an existing minimal ConTeXt (an instllation which is about 2 months old) and it worked out of the box.
Kind regards
Willi
Sytse Knypstra wrote:
Dear ConTeXt users,
Yesterday I reinstalled the minimal ConTeXt under Windows XP. I carried out the following steps:
1. Rename the old directory C:\tex into C:\old_tex 2. Download mswintex.zip from Pragma 3. Unzip into C:\ (all files and directories are now under C:\tex) 4. Start a CMD shell and run the commands:
cd c:\tex setuptex.bat mktexlsr texexec --make --alone nl en metafun
Then I tried a minimal example and it gave me the following warnings:
[1.1 Warning: pdfetex.exe (file pdftex.map): cannot open font map file ] and, in the end:
Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found
What did I do wrong?
Sytse Knypstra
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Sytse Knypstra wrote:
Warning: pdfetex.exe (file ec-lmr12): Font ec-lmr12 at 72 not found Output written on test.pdf (1 page, 2019 bytes).
Still puzzled.
Sytse Knypstra
Looks like your ConTeXt is not loading the map file pdftex needs to find the lmr12.pfb. If I run this: Hello world! \bye I get this output: fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: original-ams-base fonts : using map file: original-public-lm (./valtest.tuo)[1.1{/home/taco/texmf/fonts/map/pdftex/context/original-empty.ma p}{/home/taco/texmf/fonts/map/pdftex/context/original-base.map}{/home/taco/tex mf/fonts/map/pdftex/context/ec-public-lm.map}{/home/taco/texmf/fonts/map/pdftex /context/ec-base.map}{/home/taco/texmf/fonts/map/pdftex/context/original-ams-ba se.map}{/home/taco/texmf/fonts/map/pdftex/context/original-public-lm.map}] And that is triggered by my cont-sys.tex, which contains: \autoloadmapfilestrue \resetmapfiles \loadmapfile[original-base.map] etc. So perhaps you cont-sys.tex is broken or missing? Cheers, Taco
Taco Hoekwater wrote:
Looks like your ConTeXt is not loading the map file pdftex needs to find the lmr12.pfb. If I run this:
Hello world! \bye
I get this output:
fonts : resetting map file list fonts : using map file: original-base fonts : using map file: ec-public-lm fonts : using map file: ec-base fonts : using map file: original-ams-base fonts : using map file: original-public-lm
(./valtest.tuo)[1.1{/home/taco/texmf/fonts/map/pdftex/context/original-empty.ma
p}{/home/taco/texmf/fonts/map/pdftex/context/original-base.map}{/home/taco/tex
mf/fonts/map/pdftex/context/ec-public-lm.map}{/home/taco/texmf/fonts/map/pdftex
/context/ec-base.map}{/home/taco/texmf/fonts/map/pdftex/context/original-ams-ba
se.map}{/home/taco/texmf/fonts/map/pdftex/context/original-public-lm.map}]
And that is triggered by my cont-sys.tex, which contains:
\autoloadmapfilestrue \resetmapfiles \loadmapfile[original-base.map]
etc.
So perhaps you cont-sys.tex is broken or missing?
Cheers, Taco
My cont-sys.tex is present in c:\tex\texmf-local\tex\context\user I didn't modify it after unzipping, so the uncommented lines are: \unprotect \setupencoding [\s!default=texnansi] \autoloadmapfilestrue \resetmapfiles \donefalse \ifx\pdftexversion\undefined \else \ifnum\number\pdftexversion>119 \donetrue \fi \fi \ifdone \loadmapfile[original-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-public-lm.map] \else \loadmapfile[original-base.map] \loadmapfile[texnansi-base.map] \loadmapfile[ec-base.map] \loadmapfile[qx-base.map] \loadmapfile[t5-base.map] \loadmapfile[8r-base.map] \loadmapfile[original-ams-base.map] \loadmapfile[original-ams-euler.map] \loadmapfile[original-public-lm.map] \loadmapfile[texnansi-public-lm.map] \loadmapfile[ec-public-lm.map] \loadmapfile[qx-public-lm.map] \loadmapfile[t5-public-lm.map] \fi \usetypescriptfile[type-buy] \runMPgraphicstrue \runMPTEXgraphicstrue \useMETAFUNformattrue \protectbufferstrue \protect \endinput Sytse Knypstra
Sorry for the noise. Mswintex works if I run texexec from the command line (in the CMD shell). It does not work (any more) if I run the following command from my editor TeXnicCenter: c:\tex\setuptex.bat & texexec.exe with the arguments: --bat --nonstop --pdf "%bm" That's still puzzling me, but I don't want to bother you with that problem. Thank you for your help, Sytse Knypstra
Sytse Knypstra wrote:
Sorry for the noise. Mswintex works if I run texexec from the command line (in the CMD shell).
It does not work (any more) if I run the following command from my editor TeXnicCenter: c:\tex\setuptex.bat & texexec.exe with the arguments: --bat --nonstop --pdf "%bm"
That's still puzzling me, but I don't want to bother you with that problem.
I don't use TeXnicCenter editor, but Context editor (don't confuse it with ConTeXt system) and I use C:\tex\texmf-mswin\bin\texmfstart.exe // for the executable and texexec.pl --pdf %f // for the parameters Same settings with SciTE and both works fine. jk -- // Jilani KHALDI http://jkhaldi.oltrelinux.com
Thanks to all of you who gave attention to my problem. It was caused by something very stupid: a copy of some cont-sys.tex file was left about in same directory as my test file. After removing it, everything went fine. A suggestion for Hans: wouldn't it be a good idea to insert the following lines into the readme.txt file of mswintex.zip? It informs the user that cont-lmt.zip should also be downloaded and unzipped into the proper subdirectory. Or even better, can't you include the cont-lmt files into mswintex.zip in order to make points 3 and 4 superfluous? Installation of the minimal ConTeXt distribution for Windows: 1. Download mswintex.zip from Pragma 2. Unzip into C:\ (all files and directories are now under C:\tex) 3. Download cont-lmt.zip from Pragma 4. Unzip into C:\tex\texmf-fonts 5. Start a CMD shell and run the commands: > cd c:\tex > setuptex.bat > mktexlsr > texexec --make --alone nl en metafun "C:\" can be replaced by any other (sub)directory name Sytse Knypstra
Sytse Knypstra wrote:
Thanks to all of you who gave attention to my problem.
It was caused by something very stupid: a copy of some cont-sys.tex file was left about in same directory as my test file. After removing it, everything went fine.
A suggestion for Hans: wouldn't it be a good idea to insert the following lines into the readme.txt file of mswintex.zip? It informs the user that cont-lmt.zip should also be downloaded and unzipped into the proper subdirectory. Or even better, can't you include the cont-lmt files into mswintex.zip in order to make points 3 and 4 superfluous?
dat zijn ze, echter er zijn de laatste aand wat drastische wijzigingen in de lm distributie geweest (lastig voor context gebruikers, omdat die als proefkonijn voor lm dienen)
Installation of the minimal ConTeXt distribution for Windows: 1. Download mswintex.zip from Pragma 2. Unzip into C:\ (all files and directories are now under C:\tex) 3. Download cont-lmt.zip from Pragma 4. Unzip into C:\tex\texmf-fonts 5. Start a CMD shell and run the commands:
cd c:\tex setuptex.bat mktexlsr texexec --make --alone nl en metafun
texexec --make --all is genoeg (alone is vervallen omdat ik de aanroep van fmtutil niet meer ondersteun, dit ivm met gebrek aan engine pad support)
"C:\" can be replaced by any other (sub)directory name
overigens, de laatste texmfstart heeft de volgende feature: texmfstart --tree=c:/tex texexec ...... maw, je kunt een tree opgeven. In die tree moet dan een bestand staan (setuptex.tmf) dat env vars specificeert; in principe moet dat het runnen van een willekeurige tree vergemakkelijken (nog wat experimenteel; maar er zitten nog wat meer run features in de pen) Hans
participants (5)
-
Hans Hagen
-
Jilani Khaldi
-
Sytse Knypstra
-
Taco Hoekwater
-
Willi Egger