In order to run luatex in my TeXShop (MacOSX10.5.5) I did put the following code into ~/Library/TeXShop/Engines/LuaTeX.engine #!/bin/bash export TEXLIVE=/usr/local/texlive export TEXHOME=$TEXLIVE/2008 export TEXBIN=$TEXHOME/bin/universal-darwin export TEXCONTEXT=$TEXLIVE/texmf-local export OSFONTDIR="~/Library/Fonts;/Library/Fonts;/System/Library/Fonts" export TEXPRIVATE=/Users/hans/Library/texmf export TEXMFCACHE=/Users/hans/Library/Caches export TEXMF="{$TEXPRIVATE,$TEXLIVE/texmf-local,$TEXHOME/texmf, $TEXHOME/texmf-config,$TEXHOME/texmf-dist,$TEXHOME/texmf-var}" $TEXBIN/mtxrun --script context "$1" Also having set in $TEXBIN a softlink (ln -s) to mtxrun.lua in the context distribution, here put into texmf-local. Maybe there are one or two variables superfluous here, but it least it works. And to have luatex in TeXworks I call as a program the above engine script (courtesy Taco Hoekwater) Hans van der Meer On 22 okt 2008, at 13:13, Otared Kavian wrote:
Hi Willi,
Yes I did install mkiv through the ConTeXt Minimals (thanks to Luigi Scarso) and I invoke that installation in TeXShop: everything works fine. However I have not added any environment variables as you have done in your .bashrc. saying env | grep TEX in a Terminal window returns for me: __CF_USER_TEXT_ENCODING=0x1F5:0:0 which has nothing to do with any TeX related variable. I think in order to use mkiv with the minimals you have to "unset" all the environment variables you have in your .bashrc.
Right now I have to run to take an exam with my students… as soon as I have time I'll send you the whole procedure.
Best regards: OK
On 22 oct. 08, at 12:57, Willi Egger wrote:
Hi all,
is there anybody who has TeXshop running with the COnTeXt minimals?
I tried to make a new engine which looks up to now as stated her under. however I get an error message:
MtxRun | unknown script 'context.lua' or 'mtx-context.lua'
My interpretation is, that underway the path to the lua scripts is 'forgotten'
Kind regards
Willi
#!/bin/bash #PATH="$PATH: /Applications/lua/tex" #. /Applications/lua/tex/setuptex "/Applications/lua/tex" export PATH=``$PATH:/opt/local/bin:/opt/local/sbin:/Applications/lua/ tex/texmf-osx-intel/bin:/bin:/sbin:/usr/bin:/usr/sbin:/'' export TEXROOT=/Applications/lua/tex export TEXMFPROJECT=$TEXROOT/texmf-project export TEXMFLOCAL=$TEXROOT/texmf-local export TEXMFVAR=$TMP/texmf-var export VARTEXMF=$TEXMFVAR export TEXMFOS=$TEXROOT/texmf-osx-intel/bin export TEXMFCONTEXT=$TEXROOT/texmf-context export TEXMFCACHE=$TEXROOT/texmf-cache export TEXFORMATS=$TEXMFOS/web2c/$engine export TEXMFFONTS=$TEXROOT/texmf-fonts export CTXMINIMAL=yes export MPMEMS=$TEXMFOS/web2c/$engine export HOMETEXMF=/nonexist export RUBYLIB=``$RUBYLIB:$TEXMFCONTEXT/scripts/context/ruby``'' export LUATEXDIR=$TEXMFCONTEXT/scripts/context/lua export TEXMFCNF=``$TEXROOT/texmf{-local,-context,}/web2c'' export TEXMFMAIN=$TEXROOT/texmf export TEXMF={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} export TEXMFDBS={$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFOS, $TEXMFCONTEXT,$TEXMFMAIN} unset CTXDEVTXPATH CTXDEVMPPATH CTXDEVMFPATH unset CTXDEVPLPATH CTXDEVRBPATH CTXDEVPYPATH CTXDEVJVPATH unset TEXINPUTS MPINPUTS MFINPUTS
context ''$1'' ___________________________________________________________________________________ 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 ___________________________________________________________________________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________