Re: [NTG-context] updating ConTeXt (MacTeX)
On Tue, Mar 31, 2009 at 6:59 PM, Henning Hraban Ramm wrote:
Am 2009-03-30 um 22:11 schrieb Robert Blackstone:
Thank you, Hraban, for suggesting an easy way out: Use ConTeXt- Minimals, but also there I manage to run into problems, mainly with files and scripts that I can see in the finder but that are not found in Terminal, not even from their parent directory.
I don't understand what you mean. Can you give an example?
Normally it's vice versa: With 'ls -Al' you can see much more in the Terminal as you can see in Finder, not only dotted (hidden) files, but also whole trees like /usr.
There are a few file and folder names though that are faked in international OSX versions' Finder (like 'Applications' appears as 'Programme' in a German OSX).
Greetlings from Lake Constance! Hraban
What I meant is the following. (Incidentally, I configured the finder so that it shows the ‘hidden’ files and directories, like /usr, too.) Now about installing and configuring minimals I went through all steps described on http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installationup till step 5 of ‘configuring’, which is: Step 5. In Terminal, type context --make and press Enter/Return. This yields: MtxRun | unknown script 'context.lua' or 'mtx-context.lua' Then I cd-ed stepwuse up to /Applications/ConTeXtMinimals/tex/texmf-context/scripts/context/lua, after each cd trying to perform step 5, and then finally I got: MtxRun | running command: luatools --make --compile cont-en LuaTools | no tex file with name: cont-en.tex LuaTools | LuaTools | runtime: 0.008 seconds MtxRun | running command: luatools --make --compile cont-nl LuaTools | no tex file with name: cont-nl.tex LuaTools | LuaTools | runtime: 0.009 seconds MtxRun | running command: luatools --make --compile mptopdf LuaTools | no tex file with name: mptopdf.tex LuaTools | LuaTools | runtime: 0.013 seconds MtxRun | running command: luatools --make --compile plain LuaTools | no tex file with name: plain.tex LuaTools | LuaTools | runtime: 0.008 seconds MtxRun | total runtime: 0.168 But for example cont-en.tex does exist on my Mac and it sits in /Applications/ConTeXtMinimals/tex/texmf-context/tex/context/base/cont-en.tex These files are not found. So I am a bit at a loss at what to try next. Incidentally, step 1 of Configuring ConTeXt instructs me to create a file with a given line and save the file as .bash_profile, which, however, already exists. So I have added the line to the existing file. If this is correct, this possibility should perhaps be mentioned in the instructions. Thank you for your time and patience. Robert Blackstone
Am 2009-04-01 um 17:29 schrieb Robert Blackstone:
but also there I manage to run into problems, mainly with files and scripts that I can see in the finder but that are not found in Terminal, not even from their parent directory.
Your problem has nothing to do with your above description! You was talking about Terminal (i.e. bash), not ConTeXt!
Step 5. In Terminal, type context --make and press Enter/Return.
This yields: MtxRun | unknown script 'context.lua' or 'mtx- context.lua'
Then I cd-ed stepwuse up to /Applications/ConTeXtMinimals/tex/texmf- context/scripts/context/lua, after each cd trying to perform step 5, and then finally I got:
...
But for example cont-en.tex does exist on my Mac and it sits in texmf-context/tex/context/base/cont-en.tex
These files are not found. So I am a bit at a loss at what to try next.
The page "http://wiki.contextgarden.net/ConTeXt_Minimals/Mac_Installation " that you seem to follow states: "This page describes an alternative of installing ConTeXt Minimals on Mac OS X. In particular it describes how to configure some GUI applications to work well with minimals. (For command-line gurus it is enough to follow the three steps described in ConTeXt Minimals.)" The part "For command-line gurus" is misleading. Stay with http://wiki.contextgarden.net/ConTeXt_Minimals Never install under /Applications if you don't know what you do! Always install in your home folder; you'll run in less permission problems. Open a new Terminal window (shell). You're in your home folder (~) now. Create the context folder and change into it: $ mkdir context $ cd context (Leave out the $, that's your shell prompt!) Download first-setup.sh: $ curl -o first-setup.sh http://minimals.contextgarden.net/setup/first-setup.sh Make it executable: $ chmod a+x first-setup.sh Run it and go make tea: $ sh ./first-setup.sh Run the path setup: $ ./tex/setuptex ConTeXt should work now (i.e. at this moment in this shell window); you need to run the path setup with every new shell (i.e. Terminal) window; to automate that, you can add the "setuptex" command to your "profile", that's a script that gets called with every new shell window. $ cd $ echo "sh ~/context/tex/setuptex" >> .bash_profile Are there any remaining problems? I'll change the Wiki now. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
participants (2)
-
Henning Hraban Ramm
-
Robert Blackstone