Mojca Miklavec wrote:
Can you please try the following: - put the file I'm attaching to [whereeveryourinstallation]/texmf/dvips/base/tex.pro - run "mktexlsr" - remake formats again (texexec --make --all), athough this should not be necessary - copy the whole log/error report
Mojca
Dear Mojca, I could save tex.pro only in the directory C:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-local\dvips\, because only in the directory 'texmf-local' is directory 'dvips'. I use mswincontext.zip. It is a 2007-08-08 15:12 version on Windows XP Professional Hungarian SP2. The messages are in cmd.exe window: Microsoft Windows XP [verziószám: 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. c:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bin>mktexlsr Cannot open c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec t/ls-R to write. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -fonts/ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf- fonts/ls-R. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -local/ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf- local/ls-R. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -extra/ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf- extra/ls-R. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf /ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf/ ls-R. Cannot open /varfonts/ls-R to write. mktexlsr: Done. c:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bin>texexec --make --all TeXExec | using search method 'kpsewhich' TeXExec | updating file database Cannot open c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec t/ls-R to write. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -fonts/ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf- fonts/ls-R. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -local/ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf- local/ls-R. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -extra/ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf- extra/ls-R. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf /ls-R... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf/ ls-R. Cannot open /varfonts/ls-R to write. mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path c:/Program Files/ConTeXt/isoimage/usr/local/cont ext/tex/texmf-local/web2c/pdftex TeXExec | generating tex format cont-en TeXExec | generating tex format cont-nl TeXExec | generating tex format mptopdf TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun TeXExec | TeXExec | tex engine path: c:/Program Files/ConTeXt/isoimage/usr/local/context/t ex/texmf-local/web2c/pdftex TeXExec | mps engine path: . TeXExec | TeXExec | TeXExec | runtime: 0.484 c:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bin>texexec --dvips próba.tex TeXExec | processing document 'prˇba.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file prˇba.top TeXExec | using randomseed 311 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.141592-1.40.4 (Web2C 7.5.6) \write18 enabled. (c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf-local/web2c/natu ral.tcx) kpathsea: Running mktexfmt cont-en.fmt I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.391 c:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bin>dvips pr óba.tex This is dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com) dvips: ! Bad DVI file: first byte not preamble Istvan
On 8/28/07, Istvan Hollerbach wrote:
Dear Mojca,
I could save tex.pro only in the directory C:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-local\dvips\, because only in the directory 'texmf-local' is directory 'dvips'. I use mswincontext.zip. It is a 2007-08-08 15:12 version on Windows XP Professional Hungarian SP2. The messages are in cmd.exe window:
Microsoft Windows XP [verziószám: 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
c:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bin>texexec --make --all TeXExec | using search method 'kpsewhich' TeXExec | updating file database Cannot open c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec t/ls-R to write. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -fonts/ls-R... ... mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf/ ls-R. Cannot open /varfonts/ls-R to write. mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path c:/Program Files/ConTeXt/isoimage/usr/local/cont ext/tex/texmf-local/web2c/pdftex TeXExec | generating tex format cont-en
Here a TeX run is missing.
TeXExec | generating tex format cont-nl TeXExec | generating tex format mptopdf TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun TeXExec | TeXExec | tex engine path: c:/Program Files/ConTeXt/isoimage/usr/local/context/t ex/texmf-local/web2c/pdftex TeXExec | mps engine path: . TeXExec | TeXExec | TeXExec | runtime: 0.484
This means that no formats have been generated since you should get a lengthy TeX run inbetween. Does it make any difference if you move the whole isoimage to C:\ directly? It might be that the space in path name is causing problems, but I'm not sure. I just tried the following (although I don't have any windows around): cd /tmp mkdir "bla bla" cd "bla bla" ln -s path-to-context mycontext cd mycontext . setuptex texexec --make --all and got ruby: No such file or directory -- /tmp/bla (LoadError) (Because it's "bla bla", not "bla".) But this has failed already one step before yours. (Besides that: are your folders write-protected? Since mktexlsr complains about "unable to write to ...") Mojca
Mojca Miklavec wrote:
On 8/28/07, Istvan Hollerbach wrote:
Dear Mojca,
I could save tex.pro only in the directory C:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-local\dvips\, because only in the directory 'texmf-local' is directory 'dvips'. I use mswincontext.zip. It is a 2007-08-08 15:12 version on Windows XP Professional Hungarian SP2. The messages are in cmd.exe window:
Microsoft Windows XP [verziószám: 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
c:\Program Files\ConTeXt\isoimage\usr\local\context\tex\texmf-mswin\bin>texexec --make --all TeXExec | using search method 'kpsewhich' TeXExec | updating file database Cannot open c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf-projec t/ls-R to write. mktexlsr: Updating c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf -fonts/ls-R...
...
mktexlsr: Updated c:/Program Files/ConTeXt/isoimage/usr/local/context/tex/texmf/ ls-R. Cannot open /varfonts/ls-R to write. mktexlsr: Done. TeXExec | using tex engine pdftex TeXExec | using tex format path c:/Program Files/ConTeXt/isoimage/usr/local/cont ext/tex/texmf-local/web2c/pdftex TeXExec | generating tex format cont-en
Here a TeX run is missing.
TeXExec | generating tex format cont-nl TeXExec | generating tex format mptopdf TeXExec | using mp engine mpost TeXExec | using mps format path . TeXExec | generating mps format metafun TeXExec | TeXExec | tex engine path: c:/Program Files/ConTeXt/isoimage/usr/local/context/t ex/texmf-local/web2c/pdftex TeXExec | mps engine path: . TeXExec | TeXExec | TeXExec | runtime: 0.484
This means that no formats have been generated since you should get a lengthy TeX run inbetween. Does it make any difference if you move the whole isoimage to C:\ directly? It might be that the space in path name is causing problems, but I'm not sure.
I just tried the following (although I don't have any windows around):
cd /tmp mkdir "bla bla" cd "bla bla" ln -s path-to-context mycontext cd mycontext . setuptex texexec --make --all
and got ruby: No such file or directory -- /tmp/bla (LoadError)
(Because it's "bla bla", not "bla".) But this has failed already one step before yours.
(Besides that: are your folders write-protected? Since mktexlsr complains about "unable to write to ...")
Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Dear Mojca, I have moved the whole isoimage to C:\. Directory 'varfonts' does not exist. That is why mktexlsr cannot open /varfonts/ls-R to write. Problem continues. Istvan
participants (2)
-
Istvan Hollerbach
-
Mojca Miklavec