On Tue, Nov 11, 2008 at 8:32 PM, Lars Huttar
On 11/6/2008 4:02 PM, Lars Huttar wrote:
On 11/6/2008 3:49 PM, Lars Huttar wrote:
Hello, I've just been trying to install context on Ubuntu 8.10. Today I went to http://minimals.contextgarden.net/setup/ and followed the instructions:
On unix (linux, mac, freebsd, sun, ...) run:
mkdir context && cd context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh. ./first-setup.sh The first-setup script initially failed because I did not have ruby installed. So I installed ruby and then ran it again.
It cranked away for awhile, then ended up with the error: ! I can't find file `core-swd'. <to be read again> \relax l.228 \loadmkiifile{core-swd}
The preceding output was:
Let me add a little more preceding output: (/home/.../context/tex/texmf-context/tex/context/base/core-sec.mkii loading : Context Core Macros / Sectioning ...
systeem : markering subsubsubsubonderwerpnummer gedefinieerd [subsubsubsubonderwerpnummer] )
However, when I do a search, I see that there is a file core-swd.mkii. Its path is context/tex/texmf-context/tex/context/base (I kid you not -- tex and context each show up three times in the path!)
Can anybody suggest how to fix the problem?
Just for kicks, I tried the following. The prompt said Please type another input file name: so I entered "core-swd.mkii" (i.e. I added the .mkii suffix). This seemed to satisfy the processor ... until the same error happened again a little while later (with the same preceding output). This happened about 4 times total.
Was that a legitimate solution? Or should it really be looking for a core-swd.tex file?
Thanks, Lars
Wolfgang Schuster wrote:
Can your try this:
mtxrun --selfupdate luatools --selfupdate context --generate context --make en
Wolfgang
I guess I should first delete the core-swd.tex that I got from cache? (Did that...)
mtxrun gives "command not found"... So I added context/bin to the PATH.
Then I ran mtxrun again and got /usr/bin/env: texlua: No such file or directory.
Later I found http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation which said to add something like "source [dir...]/context/tex/setuptex [dir...]/context/tex" to the system startup script.
(It would be helpful to add a prominent link to http://wiki.contextgarden.net/ConTeXt_Minimals#First_Installation from the instructions at http://minimals.contextgarden.net/setup/, labeled "Please see more complete instructions here". There is currently a link between those two pages, but it is labeled "These might eventually become a new minimal ConTeXt distribution" which doesn't suggest that you need to visit the link to supplement the installation instructions already given.)
After adding the above source line, the four commands you asked me to try run without obvious errors.
No base/core-swd.tex file appears.
Is there something specific I should look for to tell whether the above commands solved my problem? Should I run first-setup.sh again?
Thanks, Lars
___________________________________________________________________________________ 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
___________________________________________________________________________________
I write how I setup my "minimals-beta" on a linux box ubuntu 8.04 1) mkdir -p /opt/luatex/minimals-beta 2) cd /opt/luatex/minimals-beta 2a) Now put here first-setup.sh (see contextgarden.net/minimals) 3) ./first-setup.sh 4) cd tex **IMPORTANT** 5) . setuptex ============================= 6) context --generate 7) context --make 8)Every time I start a mkiv session as first step I do cd /opt/luatex/minimals-beta/tex . setuptext to ensure correct initilization of env. variables. 9a)context --generate 9b)context --make to unsure a clean session. 10) always use context to make pdf; ie compile yours files with context basic-test.tex If you open first-setup.sh and change this line near the end mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --context=beta --tree=$PWD/tex $@ in mtxrun --verbose --script ./bin/mtx-update.lua --update --make --force --engine=all --tree=$PWD/tex $@ and then 1) mkdir -p /opt/luatex/minimals 2)... and so on you can then end with a "minimals" installation (actually minimalsBIRTHDAY) Actually I have minimals-beta, minimals and tl2008 completly unrelated so each installations has is own fonts etc etc. It's ok, because minimals and minimals-beta are not so huge and I want to be sure that minimals-beta and minimals work -- luigi