Help with mswincontext installation
After upgrading MikTeX, ConTeXt is working no more. Since I'm not using LaTeX anymore (ConTeXt rules !!! ) I decided to use only the mswincontext package. After downloading it, I followed the intructions in http://wiki.contextgarden.net/Windows_Installation#Installation_Instructions but I could not compile the example (demo-tex.tex) In the SciTe windows I receive the following log : Exec | using randomseed 1152 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en TeXExec | progname: context warning: Could not open char translation file `natural.tcx'. This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5) \write18 enabled. I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.359
Exit code: 1
Then, from the cmd line, I tried to build the formats with the command: texexec --make --all but I received: TeXExec | using search method 'kpsefast' TeXExec | updating file database mktexlsr: d:/context/usr/local/context/tex/ EXMF is not a directory. Skipping... mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path D:/context/usr/local/context/tex/texmf-mswin/web2c/pdftex TeXExec | generating tex format cont-en warning: Could not open char translation file `natural.tcx'. This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5) (INITEX) \write18 enabled. entering extended mode ! I can't find file `cont-en'. <*> *cont-en Please type another input file name: Any help will be apreciated ... Greetings from a shiny Brazil Marcus Vinicius By the way : Ruby is ok : ruby --version gives: ruby 1.8.5 (2006-08-25) [i386-mswin32] Perl is ok: perl --version gives: This is perl, v5.8.6 built for MSWin32-x86-multi-thread (with 3 registered patches, see perl -V for more detail) --------------------------------- Stay in the know. Pulse on the new Yahoo.com. Check it out.
On 9/15/06, Marcus Vinicius Mesquita de So wrote:
After upgrading MikTeX, ConTeXt is working no more.
What exactly is wrong? Do you use MikTeX 2.5 or do you mean "I updated the packages on MikTeX 2.4"? On my computer it's working OK (after submitting quite some bug reports, but all of them were fixed so far).
Since I'm not using LaTeX anymore (ConTeXt rules !!! )
Same for me ;)
I decided to use only the mswincontext package. After downloading it, I followed the intructions in http://wiki.contextgarden.net/Windows_Installation#Installation_Instructions
but I could not compile the example (demo-tex.tex) In the SciTe windows I receive the following log :
Exec | using randomseed 1152 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en TeXExec | progname: context warning: Could not open char translation file `natural.tcx'. This is pdfTeX, Version 3.141592-1.40.0-beta-20060213 (Web2c 7.5.5) \write18 enabled. I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.359
Exit code: 1
Then, from the cmd line, I tried to build the formats with the command:
texexec --make --all
That's the proper move.
but I received:
TeXExec | using search method 'kpsefast' TeXExec | updating file database mktexlsr: d:/context/usr/local/context/tex/ EXMF is not a directory. Skipping...
Did you manually remove something or is this a literal transcript of the message? It might be a broken setuptex.bat. What do echo %TEXMF% echo %TEXMFLOCAL% return? You should get something like {$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN} and D:\context\usr\local\context\tex\context\texmf-local (Not 100% about the last one, but it should be an approximation.)
mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path D:/context/usr/local/context/tex/texmf-mswin/web2c/pdftex TeXExec | generating tex format cont-en warning: Could not open char translation file `natural.tcx'.
Do you have natural.tcx in your folder (.../context/texmf/web2c/natural.tcx)? If you have it, the problem probably lies in "mktexlsr" which doesn't find files if environmental variables are not set properly. Or, let me ask another question: how do you "start" context (how do you call setuptex.bat)? Mojca
Hello gang! I discovered what caused the problem. The shell ! I used 4nt instead of cmd, and with 4nt things don't work well. I tried again with cmd and I managed to compile all three examples without problems. But then I tried to compile a book which MikTeX+ConTexT 2.4 (before the update) did very well and I received the following message ( after successfully compiling 105 pages ) ! Font \*10ptrmtfrm*=GaramondPremrPro-RegularOsF at 10.03647pt not loaded: Not enough room left. <to be read again> any clues ? Greetings Marcus Vinicius --------------------------------- Do you Yahoo!? Get on board. You're invited to try the new Yahoo! Mail.
On Sep 18, 2006, at 12:43 AM, Marcus Vinicius Mesquita de So wrote:
Hello gang!
I discovered what caused the problem. The shell ! I used 4nt instead of cmd, and with 4nt things don't work well. I tried again with cmd and I managed to compile all three examples without problems.
But then I tried to compile a book which MikTeX+ConTexT 2.4 (before the update) did very well and I received the following message ( after successfully compiling 105 pages )
! Font \*10ptrmtfrm*=GaramondPremrPro-RegularOsF at 10.03647pt not loaded: Not enough room left. <to be read again>
any clues ?
Greetings
Marcus Vinicius
Yes, I had the same problem on a gentoo install: there is a dimension for tfm "words" in your texmf.cnf (can't remember the name off the top off and my head and am not under linux right now, but it's easy to spot). Change it to a bigger value, regenerate the format, and you're back in business. I use Garamond Premier Pro too, and it has so many kerning information that the tfms are very big. HTH Thomas
On 9/18/06, Thomas A. Schmitz wrote:
On Sep 18, 2006, at 12:43 AM, Marcus Vinicius Mesquita de So wrote:
Hello gang!
I discovered what caused the problem. The shell ! I used 4nt instead of cmd, and with 4nt things don't work well. I tried again with cmd and I managed to compile all three examples without problems.
But then I tried to compile a book which MikTeX+ConTexT 2.4 (before the update) did very well and I received the following message ( after successfully compiling 105 pages )
! Font \*10ptrmtfrm*=GaramondPremrPro-RegularOsF at 10.03647pt not loaded: Not enough room left. <to be read again>
any clues ?
Greetings
Marcus Vinicius
Yes, I had the same problem on a gentoo install: there is a dimension for tfm "words" in your texmf.cnf (can't remember the name off the top off and my head and am not under linux right now, but it's easy to spot).
Not that easy to spot under MikTeX 2.5 though (I think that's still an undocummented issue). If there was still miktex.ini (as in MikTeX 2.4), I would probably tell you to change font_mem_size to a bigger value, although I'm not sure if that's really the option that you have to change. Under MikTeX 2.5 names for those options have changed considerably and I have no idea where to look for it. There are two options: 1. in cmd, use initexmf --edit-config-file=miktex\config\pdfetex.ini and add a line in the following spirit (I'm sorry, I have no idea how to make a test, so you have to test on your own) FontMemSize=30000 or perhaps (but I doubt it): font_mem_size=30000 but I really have no idea which number you have to put in there (it might be that 32000 is approximately the upper limit and that pdftex will crash if you set it higher, it might be that you're allowed to set it to 100000 or more). 2. A quicker version (for testing) is to use set MIKTEX_FONTMEMSIZE=30000 or something similar in cmd before running a document or to add an additional environmental variable for it. Please report if any of the settings above will work. It might be best to ask on the MikTeX mailing list if you won't manage to make it work after that.
Change it to a bigger value, regenerate the format, and you're back in business. I use Garamond Premier Pro too, and it has so many kerning information that the tfms are very big.
Is regenerating the format needed in such a case? Mojca
@Thomas I could not find a dimension for tfm words in my texmf.cnf file. Perhaps an entry only in the linux version ? It seems that you have a point, since if I use another font family, things run smoothly. When you're using linux again, could you see please what the entry looks like? Greetings @Mojca I had a bad time with MikTeX! I was using version 2.4 and I updated it (not upgraded for 2.5). ConTeXt stopped to function. I tried everything and gave up. Then I downloaded the mswincontext package and finally managed to make ConTeXt work againg, but still with problems with the Adobe Garamond Premier font family. But this with the mswincontex package. Then I uninstalled totally MikTeX 2.4, downloaded MikTeX 2.5 and installed it from scratch. Now ConTeXt works again and I compiled the book with the Adobe Garamond Premier fonts without problems. Thank you for your concern. Marcus --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
participants (3)
-
Marcus Vinicius Mesquita de So
-
Mojca Miklavec
-
Thomas A. Schmitz