p.s.: I figured out that I had an alias defined in my bash_profile
alias context="ruby /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb texexec --luatex"

After removing that alias (so I would use only the minimals distrib for everything) I cannot even start context:

> which context
/usr/local/context/tex/texmf-osx-intel/bin/context
> cat `which context`
#!/bin/sh
mtxrun --script context "$@"
> context
MtxRun | unknown script: context


On Sat, Jun 7, 2008 at 1:23 PM, Burak Emir <burak.emir@gmail.com> wrote:
Hi all,

Can you help me getting set up. My first half-successful run produced encouraging messages like

* This can't happen (ext4).
* I'm broken. Please show this to someone who can fix can fix

Full log is below.
I am using context minimals to try mkiv.
My system is MacOS X.
I am using the file test.tex I am using is the

% engine=luatex
\starttext
Text
\stoptext

I expected `texexec test.tex'  and `context test.tex' to produce a file test.pdf with PDF-Producer texlua or similar in its info.

Instead I got a dvi, which has only a blank page.

Thanks in advance for helping.

Burak

-----
----- This is what I did:
-----

cd /usr/local
sudo mkdir context
sudo chown buraq context
cd context
sync -av rsync://contextgarden.net/minimals/setup/linux/first-setup.sh .
sh first-setup.sh
# have coffee
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/context/bin:/usr/local/context/tex/texmf-osx-intel/bin
# ruby uses PATH to locate its scripts
export PATH=$PATH:/usr/local/context/tex/texmf-context/scripts/context/ruby
# educated guess on how to setup environment for all things TeX
export TEXMF=/usr/local/context/tex/texmf
export TEXMFMAIN=$TEXMF

cd /tmp/testlua.1
texexec test.tex

cd /tmp/testlua.2
context test.tex

-----
----- This is what I got: a file test.dvi and a suspicious log. Here is the log (same for `context' and `texexec')
-----

(test.tex

ConTeXt  ver: 2008.06.03 19:55 MKIV  fmt: 2008.6.7  int: english/english

language       : language en is active
bodyfont       : 12pt rm is loaded
specials       : tex loaded
system         : test.top loaded
(test.top
specials       :  loaded
) (test.tuo) (test.tuo)
systems         : begin file test at line 2
fonts           : needs map file: original-base
fonts           : needs map file: lm-math
fonts           : needs map file: lm-rm
[1.1
! This can't happen (ext4).
\actualshipout ... \box \postponedcontent \box 0}}
                                                  \else \message {[\ifarrang...
\myshipout ... \fi {\thisisrealpage \realfolio #1}
                                                  \gotonextrealpage \aftersh...
\dofinaloutput ...gebody #1#2\setpagecounters }}}}
                                                  \else \the \pageboundsetti...
\finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2
                                                  \resetselectiepagina \incr...
\sidefloatoutput ...e \else \finalsidefloatoutput
                                                  \global \sidefloatvsize \n...
<argument> ...\fi \else \the \defaultstreamoutput
                                                  \fi
...
l.4 \stoptext
            
I'm broken. Please show this to someone who can fix can fix

mkiv lua stats : used config path          - /usr/local/context/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path           - /Users/buraq
mkiv lua stats : modules/dumps/instances   - 87/21/1
mkiv lua stats : input load time           - 0.021 seconds
mkiv lua stats : fonts load time           - 0.799 seconds
mkiv lua stats : xml load time             - 0.000 seconds, lpath calls: 0, cached calls: 0
mkiv lua stats : lxml load time            - 0.000 seconds preparation, backreferences: 0
mkiv lua stats : mps conversion time       - 0.000 seconds
mkiv lua stats : node processing time      - 0.000 seconds including kernel
mkiv lua stats : kernel processing time    - 0.000 seconds
mkiv lua stats : attribute processing time - 0.001 seconds
mkiv lua stats : language load time        - 0.005 seconds, n=2
mkiv lua stats : graphics processing time  - 0.000 seconds including tex, n=0
mkiv lua stats : metapost processing time  - 0.000 seconds, loading: 0.000 seconds, execution: 0.000 seconds, n: 0
mkiv lua stats : current memory usage      - 43835128 bytes
mkiv lua stats : cleaned up reserved nodes - 17 nodes, 8 lists of 100
mkiv lua stats : node memory usage         - 68 hlist, 33 vlist, 3 rule, 130 glue, 6 kern, 10 penalty, 5 glyph, 135 attribute, 84 glue
_spec, 66 attribute_list, 1 temp, 7 if_stack, 9 local_par, 7 dir, 2 pdf_literal
mkiv lua stats : loaded patterns           - en:en:pat:exc:2
mkiv lua stats : loaded fonts              - file:lmroman10-bolditalic*default:otf file:lmroman10-italic*default:otf file:lmroman12-bo
ld*default:otf file:lmroman12-italic*default:otf file:lmroman12-regular*default:otf file:lmroman7-bold*default:otf file:lmroman7-regul
ar*default:otf file:lmroman9-bold*default:otf file:lmroman9-italic*default:otf file:lmroman9-regular*default:otf file:lmromancaps10-re
gular*default:otf file:lmromanslant10-bold*default:otf file:lmromanslant10-regular*default:otf file:lmromanslant12-regular*default:otf
 file:lmromanslant9-regular*default:otf lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm
msbm10:tfm msbm7:tfm rm-lmr12:tfm rm-lmr7:tfm rm-lmr9:tfm
mkiv lua stats : runtime                   - 1.143 seconds, 0 processed pages, 0 shipped pages, 0.000 pages/second


--
Burak Emir
--
http://burak.emir.googlepages.com



--
Burak Emir
--
http://burak.emir.googlepages.com