I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion : 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) Alan
On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote:
I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
Why the second argument? (It's optional, but wrong in this case.)
When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion : 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.)
I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca
Mocja— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote:
On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote:
I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
Why the second argument? (It's optional, but wrong in this case.)
When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion : 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.)
I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?)
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Tue, Dec 1, 2009 at 17:13, Bowen Alan C. wrote:
Mocja— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one?
The second one.
I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files.
This is because you need to regenerate the formats (texexec --make --all). Please send the log if this fails to help.
If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in
No, that's not been suggested. You may not use the second argument that way. If you read carefully again you'll see that there are **two different recipes**. You need to use just one of them.
When you want to use context, you need to initialize the tree by typing:
[first recipe]
. /Applications/ConTeXtMinimals/tex/setuptex in your shell or add
[second recipe]
"/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell).
I get the error message The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a valid TEXROOT path. (There is no file "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex")
Yes, that makes sense. Since /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is NOT the root of distribution. That's just the PATH to your binaries. Just go with the first approach (the one that reports mismatching formats at the moment), run texexec --make --all and send the log if it fails to work. Mojca
Thanks, Mojca. With .bash_profile now reading . /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all successfully. But I still could not process a .tex file: the error message was This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.21928 So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found. Alan On Dec 2, 2009, at 03;13,46 , Mojca Miklavec wrote:
On Tue, Dec 1, 2009 at 17:13, Bowen Alan C. wrote:
Mocja— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one?
The second one.
I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files.
This is because you need to regenerate the formats (texexec --make --all). Please send the log if this fails to help.
If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in
No, that's not been suggested. You may not use the second argument that way. If you read carefully again you'll see that there are **two different recipes**. You need to use just one of them.
When you want to use context, you need to initialize the tree by typing:
[first recipe]
. /Applications/ConTeXtMinimals/tex/setuptex in your shell or add
[second recipe]
"/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell).
I get the error message The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a valid TEXROOT path. (There is no file "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex")
Yes, that makes sense. Since /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is NOT the root of distribution. That's just the PATH to your binaries.
Just go with the first approach (the one that reports mismatching formats at the moment), run texexec --make --all and send the log if it fails to work.
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Wed, Dec 2, 2009 at 12:49, Bowen Alan C. wrote:
Thanks, Mojca. With .bash_profile now reading . /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all successfully. But I still could not process a .tex file: the error message was This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.21928 So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found.
Can you please send the output of:
uname -m echo $HOSTTYPE sysctl -n hw.cpu64bit_capable echo $PATH ls /Applications/ConTeXtMinimals/tex/ ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin which pdftex which context which texexec kpsewhich context.tex
Mojca
The outputs are: uname -m i386 echo $HOSTTYPE x86_64 sysctl -n hw.cpu64bit_capable 1 echo $PATH /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin ls /Applications/ConTeXtMinimals/tex/ mysetuptex setuptex.csh texmf-cache texmf-osx-64 setuptex setuptex.tmf texmf-context texmf-project setuptex.bat texmf texmf-local ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin total 47488 -rwxr-xr-x 1 alancbowen admin 195812 Aug 27 20:08 afm2pl -rwxr-xr-x 1 alancbowen admin 204116 Aug 27 20:08 afm2tfm -rwxr-xr-x 1 alancbowen admin 348252 Aug 27 20:08 bibtex -rwxr-xr-x 1 alancbowen admin 39 May 5 2009 context -rwxr-xr-x 1 alancbowen admin 1503396 Aug 27 20:08 dvipdfmx -rwxr-xr-x 1 alancbowen admin 224580 Aug 27 20:08 dvipos -rwxr-xr-x 1 alancbowen admin 492056 Aug 27 20:08 dvips -rwxr-xr-x 1 alancbowen admin 34252 Aug 27 20:08 kpseaccess -rwxr-xr-x 1 alancbowen admin 34284 Aug 27 20:08 kpsestat -rwxr-xr-x 1 alancbowen admin 179244 Sep 5 17:28 kpsewhich -rwxr-xr-x 1 alancbowen admin 6303832 Nov 29 04:56 luatex -rwxr-xr-x 1 alancbowen admin 231408 Nov 27 11:56 luatools -rwxr-xr-x 1 alancbowen admin 39 May 5 2009 metatex -rwxr-xr-x 1 alancbowen admin 6885 Jul 23 13:11 mktexlsr -rwxr-xr-x 1 alancbowen admin 560136 Nov 1 16:51 mpost -rwxr-xr-x 1 alancbowen admin 353560 Dec 1 09:04 mtxrun -rwxr-xr-x 1 alancbowen admin 43 Jul 19 15:11 mtxworks -rwxr-xr-x 1 alancbowen admin 2225728 Nov 29 04:56 pdftex -rwxr-xr-x 1 alancbowen admin 704816 Nov 29 04:56 pdftosrc -rwxr-xr-x 1 alancbowen admin 137860 Aug 27 20:08 pltotf -rwxr-xr-x 1 alancbowen admin 50 Nov 27 13:00 texexec lrwxrwxrwx 1 alancbowen admin 6 Nov 1 17:06 texlua -> luatex lrwxrwxrwx 1 alancbowen admin 6 Nov 1 17:06 texluac -> luatex -rwxr-xr-x 1 alancbowen admin 32 May 5 2009 texmfstart -rwxr-xr-x 1 alancbowen admin 216320 Aug 27 20:08 tftopl -rwxr-xr-x 1 alancbowen admin 135104 Nov 29 04:56 ttf2afm -rwxr-xr-x 1 alancbowen admin 249216 Aug 27 20:08 vftovp -rwxr-xr-x 1 alancbowen admin 162552 Aug 27 20:08 vptovf -rwxr-xr-x 1 alancbowen admin 1541072 Nov 1 16:51 xdvipdfmx -rwxr-xr-x 1 alancbowen admin 8192912 Nov 1 16:51 xetex which pdftex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/pdftex which context /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/context which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec kpsewhich context.tex /Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/context.tex Alan On Dec 2, 2009, at 06;55,07 , Mojca Miklavec wrote:
On Wed, Dec 2, 2009 at 12:49, Bowen Alan C. wrote:
Thanks, Mojca. With .bash_profile now reading . /Applications/ConTeXtMinimals/tex/setuptex, I ran texexec --make --all successfully. But I still could not process a .tex file: the error message was This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.21928 So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found.
Can you please send the output of:
uname -m echo $HOSTTYPE sysctl -n hw.cpu64bit_capable echo $PATH ls /Applications/ConTeXtMinimals/tex/ ls -l /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin which pdftex which context which texexec kpsewhich context.tex
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Wed, Dec 2, 2009 at 13:07, Bowen Alan C. wrote:
So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found.
which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec
This calls for a half-a-box-beer challenge. Here's a deal (the thread has grown long already): if you send a screenshot of both commands being run one after another (plus a documentary video to prove you didn't do anything weird behind the scenes) you win. Else you pay for beer during the next meeting or BachoTeX. Mojca
Mojca— Let‘s go back to o square 1. I trashed my old minimals and completely reinstalled using the latest first.setup.sh. This did not work out of the box, so I ran chmod +x first-setup.sh and then ./first-setup.sh again The good news: • there is no texmf-osx-intel folder in ConTeXtMinimals/tex/ • context --version works The bad news • compiling \starttext Hello Hans! \stoptext gets “texexec: Command not found.” My .bash_profile file consists of the line “. /Applications/ConTeXtMinimals/tex/setuptex” This seems to be working as it should: when Terminal opens I see: Setting "/Applications/ConTeXtMinimals/tex" as ConTeXt root. Running texexec --make -all again had no effect. This is all and only what I have done. (Testimonials available on request.) Alan On Dec 2, 200“9, at 10;43,15 , Mojca Miklavec wrote:
On Wed, Dec 2, 2009 at 13:07, Bowen Alan C. wrote:
So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found.
which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec
This calls for a half-a-box-beer challenge. Here's a deal (the thread has grown long already): if you send a screenshot of both commands being run one after another (plus a documentary video to prove you didn't do anything weird behind the scenes) you win. Else you pay for beer during the next meeting or BachoTeX.
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Mocja— I can process files from the command line. The problem seems to be with TeXShop (which I suspect needs some updating for Snow Leopard). Reinstalling TeXShop does not help. Alan On Dec 2, 2009, at 11;36,23 , Bowen Alan C. wrote:
Mojca—
Let‘s go back to o square 1. I trashed my old minimals and completely reinstalled using the latest first.setup.sh.
This did not work out of the box, so I ran chmod +x first-setup.sh and then ./first-setup.sh again
The good news: • there is no texmf-osx-intel folder in ConTeXtMinimals/tex/ • context --version works
The bad news • compiling \starttext Hello Hans! \stoptext gets “texexec: Command not found.”
My .bash_profile file consists of the line “. /Applications/ConTeXtMinimals/tex/setuptex” This seems to be working as it should: when Terminal opens I see: Setting "/Applications/ConTeXtMinimals/tex" as ConTeXt root.
Running texexec --make -all again had no effect.
This is all and only what I have done. (Testimonials available on request.)
Alan
On Dec 2, 200“9, at 10;43,15 , Mojca Miklavec wrote:
On Wed, Dec 2, 2009 at 13:07, Bowen Alan C. wrote:
So I removed texmf-osx-intel from /ConTeXtMinimals/tex/. re-ran texexec --make --all. The error message is now texexec: Command not found.
which texexec /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texexec
This calls for a half-a-box-beer challenge. Here's a deal (the thread has grown long already): if you send a screenshot of both commands being run one after another (plus a documentary video to prove you didn't do anything weird behind the scenes) you win. Else you pay for beer during the next meeting or BachoTeX.
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 2 déc. 2009, at 18:06, Bowen Alan C. wrote:
Mocja—
I can process files from the command line. The problem seems to be with TeXShop (which I suspect needs some updating for Snow Leopard). Reinstalling TeXShop does not help.
Alan
Hi Alan, You have to add a ".engine" file to ~/Library/TeXShop/Engines and open again TeXShop. For instance I have a file called "mkii.engine" containing these lines (between %%%begin and %%%end of course!): %%% begin #!/bin/bash source /Volumes/OK/context-minimal/tex/setuptex texexec "$1" %%%end and then in TeXShop by default the engine is chosen to be mkii. It is important to know that this file must have the "x" bit as its rights. In your case this "mkii.engine" file should contain #!/bin/bash source /Applications/ConTeXtMinimals/tex/setuptex texexec "$1" Don't forget to chmod +x. Good luck! Best regards: OK
Otared, This works perfectly. In all the changes to ConTeXt, I had neglected to update my TeXShop settings. Many thanks for your help (and patience). Alan On Dec 2, 2009, at 12;24,37 , Otared Kavian wrote:
On 2 déc. 2009, at 18:06, Bowen Alan C. wrote:
Mocja—
I can process files from the command line. The problem seems to be with TeXShop (which I suspect needs some updating for Snow Leopard). Reinstalling TeXShop does not help.
Alan
Hi Alan,
You have to add a ".engine" file to ~/Library/TeXShop/Engines
and open again TeXShop. For instance I have a file called "mkii.engine" containing these lines (between %%%begin and %%%end of course!): %%% begin #!/bin/bash
source /Volumes/OK/context-minimal/tex/setuptex texexec "$1" %%%end
and then in TeXShop by default the engine is chosen to be mkii. It is important to know that this file must have the "x" bit as its rights. In your case this "mkii.engine" file should contain
#!/bin/bash
source /Applications/ConTeXtMinimals/tex/setuptex texexec "$1"
Don't forget to chmod +x. Good luck! Best regards: OK ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote:
On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote:
I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
Why the second argument? (It's optional, but wrong in this case.)
When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion : 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.)
I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?)
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
I am a lousy typist and she is very very patient. A. On Dec 1, 2009, at 11;17,04 , Arthur Reutenauer wrote:
Mojca (at last!)—
I was also wondering when you would get her name right ;-)
Arthur ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell). I get the error message The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a valid TEXROOT path. (There is no file "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex") Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote:
Mojca (at last!)—
I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin
Which one is the right one?
Alan
On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote:
On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote:
I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin
Why the second argument? (It's optional, but wrong in this case.)
When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion : 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.)
I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?)
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Bowen Alan C. wrote:
I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files.
If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" to PATH variable if you want to set it permanently. This can usually be done in .bashrc, ..bash_profile (or whatever file is used to initialize your shell). I get the error message The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a valid TEXROOT path. (There is no file "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex")
Alan
'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote:
Mojca (at last!)—
I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin
Which one is the right one?
only mojca knows ... did you use the latest version of teh installer script? ----------------------------------------------------------------- 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 -----------------------------------------------------------------
I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin
Which one is the right one?
only mojca knows ... did you use the latest version of teh installer script?
Hi Alan, If you are running Mac OS X 10.6.1 or later, the right folder (or directory) is ConTeXtMinimals/tex/texmf-osx-64/bin In any case you can test this just by changing the name of either of the folders and try to typeset a file (you can change the name of the folder for example in the Finder). Do you use TeXShop or any other GUI application? A last point: at the beginning of the ConTeXt minimals, at one point I installed the minimals in the /Application/ folder (directory) but had constantly problems due to the rights of writing and executing, I think. Now I have the Minimals in another place and everything works fine. Good luck! Best regards: OK
Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815 when I compile as file with both or with either one alone. Alan On Dec 1, 2009, at 15;38,29 , Otared Kavian wrote:
I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin
Which one is the right one?
only mojca knows ... did you use the latest version of teh installer script?
Hi Alan,
If you are running Mac OS X 10.6.1 or later, the right folder (or directory) is ConTeXtMinimals/tex/texmf-osx-64/bin
In any case you can test this just by changing the name of either of the folders and try to typeset a file (you can change the name of the folder for example in the Finder). Do you use TeXShop or any other GUI application?
A last point: at the beginning of the ConTeXt minimals, at one point I installed the minimals in the /Application/ folder (directory) but had constantly problems due to the rights of writing and executing, I think. Now I have the Minimals in another place and everything works fine.
Good luck!
Best regards: OK ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On 1 déc. 2009, at 22:09, Bowen Alan C. wrote:
Hi, Otared,
Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx)
kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815
when I compile as file with both or with either one alone.
Alan
Hi Alan, It doesn't matter if first-setup.sh, or setuptex, whichever, installs two directories /tex/texmf-osx-64/bin and /tex/texmf-osx-intel/bin in the folder where you have first-setup.sh. As far as I am concerned, running Mac OS X 10.6.2, I even removed manually the folder /tex/texmf-osx-intel/bin, and everything works fine. Something which seems strange to me is the line you have in your .bash_profile which has: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ this seems unorthodox… In any case this /Applications/ConTeXtMinimals/tex/ should not be there and you should remove it. In order to locate the problem, you may remove this line and then in a Terminal window issue the command: source /Applications/ConTeXtMinimals/tex/setuptex (Using source is better than the"." in my humble opinion). Next issue the command which context in order to see what binary context is going to be executed when you typeset a file. Finally, assuming that you have the right context binary, typeset a test file, named for instance myfile.tex, by issuing the command: context myfile.tex in the directory where myfile.tex is present. Good luck: OK
Bowen Alan C. wrote:
Hi, Otared,
Thanks for the tip. The first problem is that ../first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get
is there a startus file? if so, delete that one (or try a fresh minimals) the problem is that in order to figure out the osx 32/64 mess several hacks have been tried 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 -----------------------------------------------------------------
On Tue, Dec 1, 2009 at 22:09, Bowen Alan C. wrote:
Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel.
texmf-osx-intel should not be installed at all. What happens if you delete it? Does it appear again? Also try to remove the file status-of-update.lua as Hans suggested.
The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815
It looks like this is using the version from TeX Live. Mojca
Mojca— texmf-osx-intel reappears when the minimals are updated removing status-of-update.lua did not make a difference (I am using MKII). I have not installed TeXLive. Alan On Dec 2, 2009, at 03;16,40 , Mojca Miklavec wrote:
On Tue, Dec 1, 2009 at 22:09, Bowen Alan C. wrote:
Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel.
texmf-osx-intel should not be installed at all. What happens if you delete it? Does it appear again? Also try to remove the file status-of-update.lua as Hans suggested.
The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815
It looks like this is using the version from TeX Live.
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Wed, Dec 2, 2009 at 12:59, Bowen Alan C. wrote:
Mojca—
texmf-osx-intel reappears when the minimals are updated
If sysctl -n hw.cpu64bit_capable returns you 1 then it's quite possible that you are still using the old version of first-setup.sh.
removing status-of-update.lua did not make a difference (I am using MKII).
I have not installed TeXLive.
Sorry, I was misinterpreting the "pdfTeX 1.40" string and though it was reading "LuaTeX beta-0.40". Mojca
Mojca— I am running a version of first-setup.sh that was downloaded from the garden on November 28. Updating to the file available today makes no difference. Alan On Dec 2, 2009, at 07;04,16 , Mojca Miklavec wrote:
On Wed, Dec 2, 2009 at 12:59, Bowen Alan C. wrote:
Mojca—
texmf-osx-intel reappears when the minimals are updated
If sysctl -n hw.cpu64bit_capable returns you 1 then it's quite possible that you are still using the old version of first-setup.sh.
removing status-of-update.lua did not make a difference (I am using MKII).
I have not installed TeXLive.
Sorry, I was misinterpreting the "pdfTeX 1.40" string and though it was reading "LuaTeX beta-0.40".
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
I think so, Hans: I updated it over the weekend. Alan On Dec 1, 2009, at 15;26,12 , Hans Hagen wrote:
Bowen Alan C. wrote:
I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" to PATH variable if you want to set it permanently. This can usually be done in .bashrc, ..bash_profile (or whatever file is used to initialize your shell). I get the error message The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a valid TEXROOT path. (There is no file "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex") Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote:
Mojca (at last!)—
I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin
Which one is the right one?
only mojca knows ... did you use the latest version of teh installer script?
----------------------------------------------------------------- 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 ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
On Tue, Dec 01 2009, Bowen Alan C. wrote:
I get the error message The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a valid TEXROOT path. (There is no file "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex")
Hello Alan, You don't need "setuptex". Just add this line to your .bash_profile or .bashrc: PATH="/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH" Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/
Thanks, Peter. I will assume for the moment that the question of my profile entry is separable from the problem in getting a file to compile. (The problem persists no matter what line I have in .bash-profile.) Alan On Dec 1, 2009, at 15;28,29 , Peter Münster wrote:
On Tue, Dec 01 2009, Bowen Alan C. wrote:
I get the error message The argument "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin" is not a valid TEXROOT path. (There is no file "/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex")
Hello Alan,
You don't need "setuptex". Just add this line to your .bash_profile or .bashrc:
PATH="/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH"
Cheers, Peter
-- Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (7)
-
Arthur Reutenauer
-
Bowen Alan C.
-
Bowen Alan C.
-
Hans Hagen
-
Mojca Miklavec
-
Otared Kavian
-
Peter Münster